summaryrefslogtreecommitdiffstats
path: root/Parser/grammar1.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-131-3/+3
|
* Some compilers complain about 'control reaches end of non-void function'Christian Heimes2013-07-221-0/+1
|\ | | | | | | because they don't understand that Py_FatalError() terminates the program.
| * Some compilers complain about 'control reaches end of non-void function'Christian Heimes2013-07-221-0/+1
| | | | | | | | because they don't understand that Py_FatalError() terminates the program.
* | Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵Christian Heimes2013-07-221-1/+4
|\ \ | |/ | | | | | | | | | | when debugging a new grammar. CID 715360
| * Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵Christian Heimes2013-07-221-1/+4
| | | | | | | | | | | | | | when debugging a new grammar. CID 715360
* | make PyGrammar_LabelRepr return a const char * (closes #16369)Benjamin Peterson2012-10-311-1/+1
|/
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-35/+35
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* PyGrammar_LabelRepr(): sprintf -> PyOS_snprintf.Tim Peters2001-12-041-2/+2
|
* The parser doesn't need its own implementation of assert, and having itsTim Peters2001-12-041-1/+1
| | | | own interfered with including Python.h. Remove Python's assert.h.
* Reverting last change so we don't have to think about the assert macroBarry Warsaw2001-11-281-5/+4
| | | | redefinition problem.
* PyGrammar_LabelRepr(): Conversion of sprintf() to PyOS_snprintf() forBarry Warsaw2001-11-281-4/+5
| | | | buffer overrun avoidance.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Mass ANSIfication.Thomas Wouters2000-07-221-5/+2
| | | | | | Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* Another directory quickly renamed.Guido van Rossum1997-04-291-4/+4
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
|
* * Parser/grammar1.c (finddfa): massive speed up by using directGuido van Rossum1994-09-091-1/+9
| | | | addressing instead of searching
* Merge back to main trunkGuido van Rossum1994-08-301-1/+1
|
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-2/+1
|
* Initial revisionGuido van Rossum1990-10-141-0/+52