summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
Commit message (Collapse)AuthorAgeFilesLines
* Only write message about changed Tab size with -v.Guido van Rossum2000-04-031-1/+2
|
* Fix by Eric Raymond: make the code that looks for various bits ofGuido van Rossum2000-03-311-15/+30
| | | | | tab-setting magic much smarter, more correct, and more easily extensible.
* Marc-Andre Lemburg: add new string token types u"..." and ur"..."Guido van Rossum2000-03-101-0/+10
| | | | (Unicode and raw Unicode).
* One more fprintf bites the dist -- use PySys_WriteStderrGuido van Rossum1998-12-041-1/+1
|
* Replace all calls to fprintf(stderr, ...) with PySys_WriteStderr(...).Guido van Rossum1998-08-251-5/+6
|
* Add checking for inconsistent tab usageGuido van Rossum1998-04-091-3/+43
|
* Swap two statements in the dedent check loop. This makes absolutelyGuido van Rossum1998-02-161-1/+1
| | | | | no difference, but avoids triggering an optimizer bug in the AIX compiler where the loop unrolling does the wrong thing...
* Fixed the bug in searching for triple quotes -- change the 'quote2'Guido van Rossum1998-02-161-2/+2
| | | | | variable from a pointer to an index, so a realloc() of the buffer won't disturb it. Problem found by Vladimir Marangozov.
* tok_nextc() should return unsigned characters, to avoid mistakingGuido van Rossum1998-01-191-2/+10
| | | | '\377' for EOF.
* Another directory quickly renamed.Guido van Rossum1997-04-291-25/+27
|
* Now that the string-sig has settled on r"obin" strings, restrict theGuido van Rossum1997-04-251-3/+7
| | | | <letter><string> notation to 'r' and 'R'.
* (Jack:) On the Mac, give syntax error on \r.Guido van Rossum1997-04-111-0/+11
|
* Support for alternative string quotes (a"xx", b"xx", c"xx", ...).Guido van Rossum1997-04-061-4/+9
|
* Rename DEBUG macro to Py_DEBUGGuido van Rossum1996-12-301-1/+1
|
* Make gcc -Wall happyGuido van Rossum1996-12-021-1/+0
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* use only j for imaginary constantsGuido van Rossum1996-01-261-2/+2
|
* changes for pow(**) and complexGuido van Rossum1996-01-121-1/+17
|
* fix bogus resize length in nextcGuido van Rossum1995-09-211-1/+1
|
* ignore control-l in whitespaceGuido van Rossum1995-07-071-1/+3
|
* replace "\r\n" with "\n" at line end (Jim Ahlstrom)Guido van Rossum1995-06-141-0/+8
|
* fix loop on unterminated triple quotesGuido van Rossum1995-01-171-1/+6
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
|
* Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing;Guido van Rossum1994-12-301-4/+3
| | | | rest: abort() -> fatal(); small things
* * Parser/tokenizer.c (tok_nextc): count line numbers when parsingGuido van Rossum1994-09-191-7/+21
| | | | strings
* * Parser/tokenizer.c: backup over illegal newline in stringGuido van Rossum1994-08-291-92/+119
| | | | literal (for "completeness" test)
* Changes to accept double-quoted strings on input.Guido van Rossum1993-10-261-1/+27
|
* * selectmodule.c: fix (another!) two memory leaks -- this time in list2setGuido van Rossum1993-05-121-2/+17
| | | | * tokenizer.[ch]: allow continuation without \ inside () [] {}.
* * pythonrun.c: Print exception type+arg *after* stack trace instead ofGuido van Rossum1993-05-121-41/+55
| | | | | | | before it. * ceval.c, object.c: moved testbool() to object.c (now extern visible) * stringobject.c: fix bugs in and rationalize string resize in formatstring() * tokenizer.[ch]: fix non-working code for lines longer than BUFSIZ
* * 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
|
* Make tabs always 8 spaces wide -- it's more portable.Guido van Rossum1992-02-261-6/+1
|
* Add warning XXX that 09.9 isn't accepted.Guido van Rossum1991-12-101-0/+2
|
* Added shift and mask ops.Guido van Rossum1991-10-241-2/+25
| | | | Allow numbers starting with a period.
* Added 2-char tokens and new versions of comparisonsGuido van Rossum1991-10-201-0/+47
|
* Completely ignore lines with only a newline token on them, exceptGuido van Rossum1991-07-271-25/+47
| | | | wholly empty lines interactively.
* Generalize to macintosh.Guido van Rossum1991-06-241-1/+1
|
* Added recognition of 'l' or 'L' as long integer suffixGuido van Rossum1991-05-051-16/+23
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Changes for THINK C 4.0.Guido van Rossum1990-12-201-2/+2
|
* "Compiling" versionGuido van Rossum1990-12-201-4/+12
|
* Increment line number for continuation lines.Guido van Rossum1990-11-091-0/+1
|
* Initial revisionGuido van Rossum1990-10-141-0/+490