[Python-Dev] Python keywords (was Lockstep iteration - eureka!)

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 10 Aug 2000 14:23:50 +1200 (NZST)


BDFL:

> The parser generator will probably have to be changed to allow you to
> indicate not to do a resword lookup at certain points in the grammar.

Isn't it the scanner which recognises reserved words?

In that case, just make it not do that for the next
token after certain tokens.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+