Overview
| Comment: | [build] prevent false warning |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | build |
| Files: | files | file ages | folders |
| SHA3-256: |
bd8a228792c6f9203d5ba96afcbb82e3 |
| User & Date: | olr on 2019-06-15 20:14:33 |
| Other Links: | manifest | tags |
Context
|
2019-06-16
| ||
| 09:31 | [build][core][fr] suggestion engine: register common names derivated from verbs check-in: 19dcb29939 user: olr tags: trunk, fr, core, build | |
|
2019-06-15
| ||
| 20:14 | [build] prevent false warning check-in: bd8a228792 user: olr tags: trunk, build | |
| 20:14 | [fr] ajustements check-in: 2a9a92a26f user: olr tags: trunk, fr | |
Changes
Modified compile_rules_graph.py from [685dd97f4d] to [541133edef].
| ︙ | ︙ | |||
185 186 187 188 189 190 191 |
if int(x.group(1)) > nToken:
print("# Error in token index at line " + sActionId + " ("+str(nToken)+" tokens only)")
print(sText)
def checkIfThereIsCode (sText, sActionId):
"check if there is code in <sText> (debugging)"
| | | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
if int(x.group(1)) > nToken:
print("# Error in token index at line " + sActionId + " ("+str(nToken)+" tokens only)")
print(sText)
def checkIfThereIsCode (sText, sActionId):
"check if there is code in <sText> (debugging)"
if re.search(r"[.]\w+[(]|sugg\w+[(]|\(\\[0-9]|\[[0-9]", sText):
print("# Warning at line " + sActionId + ": This message looks like code. Line should probably begin with =")
print(sText)
def createAction (sActionId, sAction, nPriority, dOptPriority, nToken, dPos):
"create action rule as a list"
# Option
|
| ︙ | ︙ |