Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

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