cpython/Parser
Tim Peters 7c321a80f9 The Py_REF_DEBUG/COUNT_ALLOCS/Py_TRACE_REFS macro minefield: added
more trivial lexical helper macros so that uses of these guys expand
to nothing at all when they're not enabled.  This should help sub-
standard compilers that can't do a good job of optimizing away the
previous "(void)0" expressions.

Py_DECREF:  There's only one definition of this now.  Yay!  That
was that last one in the family defined multiple times in an #ifdef
maze.

Py_FatalError():  Changed the char* signature to const char*.

_Py_NegativeRefcount():  New helper function for the Py_REF_DEBUG
expansion of Py_DECREF.  Calling an external function cuts down on
the volume of generated code.  The previous inline expansion of abort()
didn't work as intended on Windows (the program often kept going, and
the error msg scrolled off the screen unseen).  _Py_NegativeRefcount
calls Py_FatalError instead, which captures our best knowledge of
how to abort effectively across platforms.
2002-07-09 02:57:01 +00:00
..
.cvsignore
acceler.c
bitset.c
firstsets.c Silence parser generator output. 2001-09-11 16:43:16 +00:00
grammar.c The parser doesn't need its own implementation of assert, and having its 2001-12-04 03:18:48 +00:00
grammar.mak Link with the right C library! This has always been wrong (& my fault). 2002-05-23 19:25:59 +00:00
grammar1.c PyGrammar_LabelRepr(): sprintf -> PyOS_snprintf. 2001-12-04 03:36:01 +00:00
intrcheck.c Include <unistd.h> in Python.h. Fixes #500924. 2002-01-12 11:05:12 +00:00
listnode.c
metagrammar.c
myreadline.c RISCOS changes by dschwertberger. 2001-03-02 06:34:14 +00:00
node.c PyNode_AddChild() and fancy_roundup(): Be paranoid about int overflow. 2002-07-08 19:11:07 +00:00
parser.c Disable the parser hacks that allowed the "yield" keyword to be enabled 2002-03-22 23:38:11 +00:00
parser.h Disable the parser hacks that enabled the "yield" keyword using a future 2002-03-22 23:53:36 +00:00
parsetok.c Disable the parser hacks that enabled the "yield" keyword using a future 2002-03-22 23:53:36 +00:00
pgen.c Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c 2002-05-31 13:11:40 +00:00
pgen.h
pgenmain.c The Py_REF_DEBUG/COUNT_ALLOCS/Py_TRACE_REFS macro minefield: added 2002-07-09 02:57:01 +00:00
printgrammar.c
tokenizer.c Mass checkin of universal newline support. 2002-04-14 20:12:41 +00:00
tokenizer.h