2010/8/7 Greg Ewing <greg.ew...@canterbury.ac.nz>:
> I'm trying to add a '?' token to the parser, and weird things
> are happening.

Why do you even have to add a new token? You can just put the literal
'?' in the grammar.




-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to