Overview
Comment: | [core] gc engine: create errors, code clarification |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | rg |
Files: | files | file ages | folders |
SHA3-256: |
f086eb66a0d7830084ab3f9515d914d7 |
User & Date: | olr on 2018-06-27 20:53:35 |
Other Links: | branch diff | manifest | tags |
Context
2018-06-27
| ||
20:58 | [core][bug] gc engine: missing parameter check-in: 6e8a6ca2ac user: olr tags: core, rg | |
20:53 | [core] gc engine: create errors, code clarification check-in: f086eb66a0 user: olr tags: core, rg | |
20:18 | [core] gc engine: merge error creation functions (code clarification) check-in: 6f2fcade8d user: olr tags: core, rg | |
Changes
Modified gc_core/py/lang_core/gc_engine.py from [6d8fead8fe] to [e1ed0e462e].
︙ | |||
212 213 214 215 216 217 218 | 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | - + - - - - - - - + + - - + + - - | def _createError (s, sx, sRepl, nOffset, m, iGroup, sLineId, sRuleId, bUppercase, sMsg, sURL, bShowRuleId, sOption, bContext): nStart = nOffset + m.start(iGroup) nEnd = nOffset + m.end(iGroup) # suggestions if sRepl[0:1] == "=": |
︙ | |||
780 781 782 783 784 785 786 | 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 | - - - - - + - - + - - + + - - | raise Exception(str(e), sLineId, sRuleId, self.sSentence) return bChange, dError def _createError (self, sSugg, nTokenOffset, iFirstToken, nStart, nEnd, sLineId, sRuleId, bUppercase, sMsg, sURL, bShowRuleId, sOption, bContext): # suggestions if sSugg[0:1] == "=": sSugg = globals()[sSugg[1:]](self.lToken, nTokenOffset) |
︙ |