Grammalecte  Diff

Differences From Artifact [c35a62c9a6]:

To Artifact [326d35579d]:


288
289
290
291
292
293
294
295


296
297
298
299
300
301
302
288
289
290
291
292
293
294

295
296
297
298
299
300
301
302
303







-
+
+







            if m:
                sRuleName = m.group(1)
                iActionBlock = 1
                nPriority = int(m.group(2)[1:]) if m.group(2)  else 4
            else:
                print("Error at rule group: ", sLine, " -- line:", i)
                break
        elif re.search("    +<<- ", sLine):
        elif re.search("^    +<<- ", sLine) or sLine.startswith("        ") \
                or re.search("^    +#", sLine) or re.search(r"^    [-~=>/](?:\d(?::\d+|)|)>> ", sLine) :
            # actions
            sActions += " " + sLine.strip()
        elif re.match("[  ]*$", sLine):
            # empty line to end merging
            if not lTokenLine:
                continue
            if not sActions: