Grammalecte  Check-in [a9024a4af5]

Overview
Comment:[build] fix wrong warning
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | rg
Files: files | file ages | folders
SHA3-256: a9024a4af59e00f192400783794c9ba02957c0a54ec5315b1858452c9801df24
User & Date: olr on 2018-07-14 12:49:12
Other Links: branch diff | manifest | tags
Context
2018-07-14
14:01
[fr] conversion: regex rules -> graph rules check-in: 6630bf7012 user: olr tags: rg
12:49
[build] fix wrong warning check-in: a9024a4af5 user: olr tags: build, rg
12:48
[fr] fix test check-in: 7d1fce952d user: olr tags: fr, rg
Changes

Modified compile_rules_graph.py from [5195133d9c] to [bb72ae50c9].

261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
    elif cAction == "/":
        ## tags
        return [sOption, sCondition, cAction, sAction, iStartAction, iEndAction]
    elif cAction == "=":
        ## disambiguator
        if sAction[0:1] == "=":
            sAction = sAction[1:]
        if "define" in sAction and not re.search(r"define\(\\\d+ *, *\[.*\] *\)", sAction):
            print("# Error in action at line " + sActionId + ": second argument for <define> must be a list of strings")
        sAction = prepareFunction(sAction)
        dFUNCTIONS["_g_d_"+sActionId] = sAction
        sAction = "_g_d_"+sActionId
        return [sOption, sCondition, cAction, sAction]
    else:
        print(" # Unknown action.", sActionId)







|







261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
    elif cAction == "/":
        ## tags
        return [sOption, sCondition, cAction, sAction, iStartAction, iEndAction]
    elif cAction == "=":
        ## disambiguator
        if sAction[0:1] == "=":
            sAction = sAction[1:]
        if "define(" in sAction and not re.search(r"define\(\\\d+ *, *\[.*\] *\)", sAction):
            print("# Error in action at line " + sActionId + ": second argument for <define> must be a list of strings")
        sAction = prepareFunction(sAction)
        dFUNCTIONS["_g_d_"+sActionId] = sAction
        sAction = "_g_d_"+sActionId
        return [sOption, sCondition, cAction, sAction]
    else:
        print(" # Unknown action.", sActionId)