Commit 796d4038 authored by Eckhart Arnold's avatar Eckhart Arnold

MLW.ebnf: Fehler bei Bedeutungsangaben mit nachfolgenden Zuästzen behoben

parent 3f45d04f
......@@ -315,7 +315,7 @@ class Parser:
if i >= 0 or self == grammar.start_parser__:
# apply reentry-rule or catch error at root-parser
if i < 0:
i = 1
i = 1 # else: maybe add continuation point to error message?
nd = Node(ZOMBIE_TAG, rest[:i]).with_pos(location)
rest = rest[i:]
assert pe.node.children or (not pe.node.result)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment