Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
ade77081
Commit
ade77081
authored
Apr 20, 2017
by
Eckhart Arnold
Browse files
sync commit
parent
44782956
Changes
1
Hide whitespace changes
Inline
Side-by-side
DHParser/ebnf.py
View file @
ade77081
...
...
@@ -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 symbol
s
, '
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment