Grammalecte  Check-in [bc2b809d0e]

Overview
Comment:[build] graph bookmark display
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | rg
Files: files | file ages | folders
SHA3-256: bc2b809d0ee06a20e30ee18e06b55ec1486db3e0e730316f5fa974ba0f4d964e
User & Date: olr on 2018-08-18 11:26:56
Other Links: branch diff | manifest | tags
Context
2018-08-18
13:07
[build] graph data display check-in: a7352c0d8f user: olr tags: build, rg
11:26
[build] graph bookmark display check-in: bc2b809d0e user: olr tags: build, rg
10:39
[fr] conversion: regex rules -> graph rules check-in: 16d8b47671 user: olr tags: fr, rg
Changes

Modified compile_rules.py from [e8250665d2] to [2a72e2ecd2].

488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
            if sLine[nExMk:].strip():
                printBookmark(nExMk-2, sLine[nExMk:-3].strip(), i)
        # Graph rules
        elif sLine.startswith("@@@@GRAPH:"):
            # rules graph call
            m = re.match(r"@@@@GRAPH: *(\w+)", sLine.strip())
            if m:
                printBookmark(1, "____ GRAPH: " + m.group(1) + " ____", i)
                lRuleLine.append([i, "@@@@"+m.group(1)])
                bGraph = True
            lGraphRule.append([i, sLine])
            bGraph = True
        elif sLine.startswith("@@@@END_GRAPH"):
            #lGraphRule.append([i, sLine])
            bGraph = False







|







488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
            if sLine[nExMk:].strip():
                printBookmark(nExMk-2, sLine[nExMk:-3].strip(), i)
        # Graph rules
        elif sLine.startswith("@@@@GRAPH:"):
            # rules graph call
            m = re.match(r"@@@@GRAPH: *(\w+)", sLine.strip())
            if m:
                printBookmark(0, "GRAPH: " + m.group(1), i)
                lRuleLine.append([i, "@@@@"+m.group(1)])
                bGraph = True
            lGraphRule.append([i, sLine])
            bGraph = True
        elif sLine.startswith("@@@@END_GRAPH"):
            #lGraphRule.append([i, sLine])
            bGraph = False