Grammalecte  Check-in [e293f98eb8]

Overview
Comment:[build] don’t check if there is code in action when action is disambiguation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | rg
Files: files | file ages | folders
SHA3-256: e293f98eb84d32c763c0d006c2f5ea194521c11d8124193dcba178f9c8d55d6f
User & Date: olr on 2018-07-10 18:42:14
Other Links: branch diff | manifest | tags
Context
2018-07-11
05:39
[fr] faux positif check-in: a14f734037 user: olr tags: fr, rg
2018-07-10
18:42
[build] don’t check if there is code in action when action is disambiguation check-in: e293f98eb8 user: olr tags: build, rg
18:30
[fr] conversion: regex rules -> graph rules check-in: a34af7635d user: olr tags: fr, rg
Changes

Modified compile_rules_graph.py from [fa2c85d15b] to [3490c8ecf9].

220
221
222
223
224
225
226
227

228
229
230
231
232
233
234
220
221
222
223
224
225
226

227
228
229
230
231
232
233
234







-
+







    if cAction == ">":
        ## no action, break loop if condition is False
        return [sOption, sCondition, cAction, ""]

    if not sAction:
        print("# Error in action at line " + sActionId + ":  This action is empty.")

    if sAction[0:1] != "=":
    if sAction[0:1] != "=" and cAction != "=":
        checkIfThereIsCode(sAction, sActionId)

    if cAction == "-":
        ## error detected --> suggestion
        if sAction[0:1] == "=":
            sAction = prepareFunction(sAction, True)
            dFUNCTIONS["_g_s_"+sActionId] = sAction[1:]