@@ -276,15 +276,15 @@ exit() for j, sTokenLine in lTokenLine: dAllGraph[sGraphName].append((j, sRuleName, sTokenLine, sActions, nPriority)) lTokenLine.clear() sActions = "" - nPriority = 4 elif re.search(" +<<- ", sLine): # actions sActions += " " + sLine.strip() elif sLine.startswith((" ")): + # tokens lTokenLine.append([i, sLine.strip()]) else: print("Unknown line:") print(sLine)