[Python-Dev] Adding a token (original) (raw)
Benjamin Peterson benjamin at python.org
Sun Aug 8 03:42:33 CEST 2010
- Previous message: [Python-Dev] Adding a token
- Next message: [Python-Dev] Adding a token
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/8/7 Greg Ewing <greg.ewing at 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
- Previous message: [Python-Dev] Adding a token
- Next message: [Python-Dev] Adding a token
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]