Differences From Artifact [22bdc8ba86]:
- File compile_rules.py — part of check-in [cb88d3d2dc] at 2018-06-13 05:37:08 on branch rg — [build] merge graph rules building and regex rules building (user: olr, size: 24037) [annotate] [blame] [check-ins using]
 
To Artifact [856372255b]:
- File compile_rules.py — part of check-in [291571d101] at 2018-06-13 06:01:05 on branch rg — [build] graph builder: add some decoration (user: olr, size: 24095) [annotate] [blame] [check-ins using]
 
| ︙ | |||
490 491 492 493 494 495 496 497 498 499 500 501 502 503  | 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505  | + +  | 
                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
        elif re.match("@@@@ *$", sLine):
            pass
        elif bGraph:
            lGraphRule.append([i, sLine])
        # Regex rules
        elif re.match("[  \t]*$", sLine):
            # empty line
            pass
        elif sLine.startswith(("    ", "\t")):
 | 
| ︙ |