aboutsummaryrefslogtreecommitdiff
path: root/exyapps/grammar.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-07-03 14:16:44 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-07-03 14:16:44 -0400
commit60eb198a2b589ddfae56e8a2fa3d214bf2df6dc8 (patch)
tree9da2d25df7d813ae9848eaf4d6ccdd159436df5b /exyapps/grammar.py
parent7f01b5bd084eccff8d551ba34c01e6375617cc93 (diff)
downloadexyapps-60eb198a2b589ddfae56e8a2fa3d214bf2df6dc8.tar.gz
Minimal 2to3 pass
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