Commit ade77081 authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

sync commit

parent 44782956
......@@ -424,7 +424,7 @@ class EBNFCompiler(CompilerBase):
if prefix in {'::', ':'}:
assert len(node.result) == 2
if arg.parser.name != 'symbol':
node.add_error(('Retrieve Operator "%s" requires a symbols, '
node.add_error(('Retrieve Operator "%s" requires a symbol, '
'and not a %s.') % (prefix, str(arg.parser)))
return str(arg.result)
self.variables.add(arg.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