summaryrefslogtreecommitdiffstats
path: root/Include/grammar.h
Commit message (Collapse)AuthorAgeFilesLines
* fix warnings by adding more const (GH-12924)Inada Naoki2019-04-231-1/+1
|
* use `const` in graminit.c (GH-12713)tyomitch2019-04-231-5/+5
|
* bpo-36623: Clean parser headers and include files (GH-12253)Pablo Galindo2019-04-131-16/+0
| | | After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.
* Remove d_initial from the parser as it is unused (GH-12212)tyomitch2019-03-091-1/+0
| | | d_initial, the first state of a particular DFA in the parser has always been initialized to 0 in the old pgen as well as the new pgen. As this value is not used and the first state of each DFA is assumed to be the first element in the array representing it, remove d_initial from the parser to reduce complexity.
* bpo-32150: Expand tabs to spaces in C files. (#4583)Serhiy Storchaka2017-11-281-24/+24
|
* properly free memory in pgenBenjamin Peterson2016-09-191-0/+1
|
* Removed trailing tabs.Serhiy Storchaka2015-03-211-1/+1
|
* Issue #1772673: The type of `char*` arguments now changed to `const char*`.Serhiy Storchaka2013-10-191-3/+3
|
* make PyGrammar_LabelRepr return a const char * (closes #16369)Benjamin Peterson2012-10-311-1/+1
|
* 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.
* Remove function-less prototype (old function that was removed ?) thatThomas Wouters2000-07-241-1/+0
| | | | happens to be a C++ reserved word, too.
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-091-45/+45
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Added prototype for PyGrammar_RemoveAccelerators().Guido van Rossum1997-08-121-0/+1
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* The great renaming, phase two: all header files have been updated toGuido van Rossum1995-01-121-14/+14
| | | | | | | use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
* Added 1995 copyright.Guido van Rossum1995-01-041-2/+2
| | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-7/+7
|
* * Added support for X11 modules.Guido van Rossum1993-07-281-0/+11
| | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
* * 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
* Correct spelling in function nameGuido van Rossum1992-09-031-1/+1
|
* 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-0/+3
|
* Initial revisionGuido van Rossum1990-10-141-0/+78