cpython/Parser
Guido van Rossum da62ecc9aa Add a really stupid warning about 'yield' used as an identifier.
This is really stupid because it cannot be suppressed or altered using
the warning framework; that's because the warning framework is built
on Python interpreter internals, and the parser generator doesn't have
access to any of those (you cannot use anything of type PyObject * in
the parser).

But it's better than nothing, and implementing a proper check for this
appears to require modifying compile.c in a dozen places, for which I
don't have the stamina today.  I promise we'll do better in 2.2a2.

At least it tells you the filename and line number (unlike the first
hack I considered :-).
2001-07-17 16:53:11 +00:00
..
.cvsignore
acceler.c
assert.h
bitset.c
firstsets.c
grammar.c
grammar1.c
intrcheck.c RISCOS changes by dschwertberger. 2001-03-02 06:34:14 +00:00
listnode.c
metagrammar.c
myreadline.c RISCOS changes by dschwertberger. 2001-03-02 06:34:14 +00:00
node.c
parser.c Preliminary support for "from __future__ import generators" to enable 2001-07-15 21:08:29 +00:00
parser.h Preliminary support for "from __future__ import generators" to enable 2001-07-15 21:08:29 +00:00
parsetok.c Add a really stupid warning about 'yield' used as an identifier. 2001-07-17 16:53:11 +00:00
pgen.c
pgen.h
pgenmain.c
printgrammar.c
tokenizer.c SF but #417587: compiler warnings compiling 2.1. 2001-04-21 02:46:11 +00:00
tokenizer.h