Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

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

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