summaryrefslogtreecommitdiffstats
path: root/Parser/parsetok.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* PyParser_ParseString(): When the err_ret structure is initialized, theBarry Warsaw2000-08-181-0/+2
| | | | | | fields token and expected must also be initialized, otherwise the tests in parsetok() can generate uninitialized memory read errors. This quiets an Insure warning.
* Mass ANSIfication.Thomas Wouters2000-07-221-17/+4
| | | | | | 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.
* Create two new exceptions: IndentationError and TabError. These areFred Drake2000-07-111-2/+2
| | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856.
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-091-2/+1
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Trent Mick: familiar simple Win64 patchesGuido van Rossum2000-06-281-2/+2
|
* Jack Jansen: Removed Macintosh tab-guessing codeGuido van Rossum2000-06-281-7/+0
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-1/+1
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Make sure that -t and -tt also work on strings passed to compile().Guido van Rossum1998-12-211-0/+7
|
* Declare and use Py_TabcheckFlag here.Guido van Rossum1998-04-101-0/+8
|
* Finally plug the memory leak caused by syntax error (includingGuido van Rossum1997-07-271-1/+4
| | | | interactive EOF, which leaked *one* byte).
* Another directory quickly renamed.Guido van Rossum1997-04-291-11/+12
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* fix strncpy call (uninitialized memory read)Guido van Rossum1995-01-201-1/+2
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
|
* don't call strncpy(str, NULL, 0)Guido van Rossum1994-08-291-81/+79
|
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-4/+7
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Guess tab size on the Mac from tab resource.Guido van Rossum1992-03-251-0/+7
|
* Append a NEWLINE token at the end of a file.Guido van Rossum1992-03-041-0/+7
|
* When printing an error message, don't choke if tok->buf is NULL.Guido van Rossum1991-06-071-10/+14
|
* Don't print the line number for syntax errors in string parsing.Guido van Rossum1991-06-031-0/+3
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-63/+65
|
* Set parse tree in parser data structure to NULL when returningGuido van Rossum1990-11-181-3/+4
| | | | a valid parse tree to caller, so caller must free the tree.
* Initial revisionGuido van Rossum1990-10-141-0/+131