diff options
author | sienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2011-08-09 16:37:59 -0400 |
---|---|---|
committer | sienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2011-08-09 16:37:59 -0400 |
commit | d76e399d5a2eb254246896b060c13f6de26f504d (patch) | |
tree | 6552d7272cf3458241c386dfb7a3c59d308a742b /exyapps | |
parent | 0916983826af0e2f581786c53ba01d313224862d (diff) | |
download | exyapps-d76e399d5a2eb254246896b060c13f6de26f504d.tar.gz |
no tabs
git-svn-id: http://svn.stsci.edu/svn/ssb/etal/exyapps/trunk@366 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'exyapps')
-rw-r--r-- | exyapps/grammar.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exyapps/grammar.py b/exyapps/grammar.py index 258c464..8220579 100644 --- a/exyapps/grammar.py +++ b/exyapps/grammar.py @@ -33,9 +33,9 @@ def cleanup_sequence(rule, lst): 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) + # It's a token + if 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 |