summaryrefslogtreecommitdiffstats
path: root/Parser
Commit message (Collapse)AuthorAgeFilesLines
* replace "\r\n" with "\n" at line end (Jim Ahlstrom)Guido van Rossum1995-06-141-0/+8
|
* added PyErr_SetInterrupt()Guido van Rossum1995-03-101-0/+6
|
* remove last bits of mac specific codeGuido van Rossum1995-01-301-8/+0
|
* Mac interrupt code moved to macglue.cJack Jansen1995-01-271-76/+1
|
* New cmd-. handling for the mac.Jack Jansen1995-01-261-15/+21
|
* fix strncpy call (uninitialized memory read)Guido van Rossum1995-01-201-1/+2
|
* typoGuido van Rossum1995-01-201-1/+1
|
* Added mac-only intrpeek routine that peeks for command-.Jack Jansen1995-01-191-5/+30
|
* fix loop on unterminated triple quotesGuido van Rossum1995-01-171-1/+6
|
* made interrupted static againGuido van Rossum1995-01-171-1/+1
|
* added $& to $(LIB) target for SequentGuido van Rossum1995-01-171-1/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-0419-38/+38
|
* 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.
* Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing;Guido van Rossum1994-12-305-15/+18
| | | | rest: abort() -> fatal(); small things
* * Parser/intrcheck.c: make 'interrupted' global (forgot forGuido van Rossum1994-09-281-1/+1
| | | | whom...)
* * Parser/tokenizer.c (tok_nextc): count line numbers when parsingGuido van Rossum1994-09-191-7/+21
| | | | strings
* * 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-3016-48/+142
|
* * Parser/tokenizer.c: backup over illegal newline in stringGuido van Rossum1994-08-291-92/+119
| | | | literal (for "completeness" test)
* don't call strncpy(str, NULL, 0)Guido van Rossum1994-08-291-81/+79
|
* Makefile: add $(OPT) to linking lineGuido van Rossum1994-08-291-1/+1
| | | | tokenizer.c: move tok_backup call around
* * Parser/tokenizer.c: backup over illegal newline in stringGuido van Rossum1994-08-231-1/+2
| | | | | literal (for "completeness" test) * */Makefile*.in: remove lib*.a before adding to it
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-013-28/+106
|
* NoneGuido van Rossum1993-12-242-12/+133
|
* * Grammar: corrected old typo (class instead of 'class')Guido van Rossum1993-12-201-1/+1
| | | | | | | * dosmodule.c: MSDOS specific stuff from posixmodule.c. * posixmodule.c: removed all MSDOS specific stuff. * tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed parameters (MSC doesn't like this).
* New fileGuido van Rossum1993-12-201-0/+73
|
* * ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,Guido van Rossum1993-11-011-0/+1
| | | | | | pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
* Changes to accept double-quoted strings on input.Guido van Rossum1993-10-261-1/+27
|
* * Added support for X11 modules.Guido van Rossum1993-07-284-0/+44
| | | | | | | * 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++.
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-052-11/+31
| | | | | | | | | | | | * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
* * pythonmain.c: -k option, usage message, more environment flags.Guido van Rossum1993-06-241-1/+1
| | | | | | | | | | | (the latter also in frozenmain.c) * ceval.c: global 'killprint' flag raises exception when printing an expression statement's value (useful for finding stray output) * timemodule.c: add asctime() and ctime(). Change julian date to 1-based origin (as intended and documented). * Removed unused DO_TIMES stuff from timemodule.c. Added 'epoch' and 'day0' globals (year where time.time() == 0 and day of the week the epoch started).
* * selectmodule.c: fix (another!) two memory leaks -- this time in list2setGuido van Rossum1993-05-122-2/+19
| | | | * tokenizer.[ch]: allow continuation without \ inside () [] {}.
* * pythonrun.c: Print exception type+arg *after* stack trace instead ofGuido van Rossum1993-05-122-45/+60
| | | | | | | 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
* (I suggest a recompile after getting this, the ceval.c bugfix may be crucial!)Guido van Rossum1993-04-151-0/+9
| | | | | | | * Makefile: removed superfluous AR=ar, fixed misleading comment. * ceval.c: fixed debugging code; save/restore errors in locals_2_fast. * intrcheck.c: for SunOS etc., turn off syscall resumption. * regexpr.h: bump number of registers to 100.
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-2918-36/+36
| | | | | | | | | | | | | | | | | * 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
* * 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.
* * bltinmodule.c: added built-in function cmp(a, b)Guido van Rossum1992-10-181-1/+1
| | | | | | | | | | | | | | | * flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.)
* Correct debug printing codeGuido van Rossum1992-09-031-1/+1
|
* Print warnings to stderr and correct spellingGuido van Rossum1992-09-031-2/+2
|
* Copyright for 1992 addedGuido van Rossum1992-04-0515-15/+15
|
* Copyright for 1992 addedGuido van Rossum1992-04-054-4/+4
|
* Added guesstabsize() for the macGuido van Rossum1992-03-271-0/+10
|
* lintGuido van Rossum1992-03-271-1/+2
|
* Lint fluffGuido van Rossum1992-03-271-4/+3
|
* 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
|
* Make tabs always 8 spaces wide -- it's more portable.Guido van Rossum1992-02-261-6/+1
|
* Added a header file.Guido van Rossum1992-01-191-0/+4
|
* 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.