aboutsummaryrefslogtreecommitdiff
path: root/exyapps/grammar.py
diff options
context:
space:
mode:
Diffstat (limited to 'exyapps/grammar.py')
-rw-r--r--exyapps/grammar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exyapps/grammar.py b/exyapps/grammar.py
index 8220579..27cf756 100644
--- a/exyapps/grammar.py
+++ b/exyapps/grammar.py
@@ -35,7 +35,7 @@ def resolve_name(rule, tokens, id, args):
if id in [x[0] for x in tokens]:
# It's a token
if args:
- print 'Warning: ignoring parameters on TOKEN %s<<%s>>' % (id, args)
+ print('Warning: ignoring parameters on TOKEN %s<<%s>>' % (id, args))
return parsetree.Terminal(rule, id)
else:
# It's a name, so assume it's a nonterminal