summaryrefslogtreecommitdiffstats
path: root/Modules/parsermodule.c
Commit message (Collapse)AuthorAgeFilesLines
* replace PyXXX_Length calls with PyXXX_Size callsJeremy Hylton2000-07-121-5/+5
|
* ANSI-fyingPeter Schneider-Kamp2000-07-101-12/+4
| | | | | added excplicit node * parameter to termvalid argument in validate_two_chain_ops of parsermodule.c (as proposed by fred)
* Remove use of HAVE_OLD_CPP to support non-ANSI preprocessors.Fred Drake2000-07-091-4/+0
|
* Remove warning about local variable possibly being using uninitialized;Fred Drake2000-07-041-1/+1
| | | | noted by Marc-Andre Lemburg <mal@lemburg.com>.
* Andrew Kuchling <akuchlin@mems-exchange.org>:Fred Drake2000-07-031-1/+1
| | | | Typo in string literal: execpt --> except
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-4/+4
| | | | | | | | | | 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.)
* validate_arglist(): Re-written to reflect extended call syntax.Fred Drake2000-04-251-3/+80
| | | | | validate_numnodes(): Added comment to explain the sometimes idiomatic usage pattern.
* ANSI-fy & de-tabify the source.Fred Drake2000-04-191-1505/+1317
| | | | (4-space indents already used.)
* What used to be tp_xxx4 is now tp_flags; set it to Py_TPFLAGS_DEFAULT.Fred Drake2000-02-211-2/+1
|
* parser__pickler(): Don't drop the third argument toFred Drake1999-09-201-5/+11
| | | | | | | parser_ast2tuple(). Create an temporary empty dictionary to use. Bug reported by Mark Favas <m.favas@per.dem.csiro.au>. Fix a couple of comments.
* Added keyword parameter support to all public interfaces; keywordFred Drake1999-09-091-62/+76
| | | | | | | | | names match the documentation. Removed broken code that supports the __methods__ attribute on ast objects; the right magic was added to Py_FindMethod() since this was originally written. <ast-object>.__methods__ now works, so dir() and rlcompleter are happy.
* When the parameter to PyInt_AsLong() has already been checked withFred Drake1999-02-171-2/+2
| | | | PyInt_Check(), use PyInt_AS_LONG() instead (two places).
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL.Fred Drake1998-08-041-1/+1
|
* Sorry, the initializer for ob_type must really be NULL,Guido van Rossum1998-05-291-1/+1
| | | | else the damn thing won't compile on Windows :-(
* parser_compare_nodes(): Corrected a minor type error; eliminate one GCCFred Drake1998-05-111-1/+1
| | | | warning (at least under Linux).
* Made lint a bit happier.Fred Drake1998-04-291-54/+80
| | | | Fixed a memory leak in an error handler.
* Add a declaration for strdup() for the Mac.Guido van Rossum1998-04-281-0/+3
| | | | (Jack)
* In method & function tables, added a cast for the function pointers to keepFred Drake1998-04-211-16/+21
| | | | | | | | compilers happy. initparser(): Remove unused variable. gcc -Wall is now happy.
* The documentation threatened it would happen -- the functions that shouldFred Drake1998-04-131-35/+97
| | | | have been methods now are! Still available as functions for compatibility.
* Added support for pickling ast objects.Fred Drake1998-04-131-14/+65
|
* Make new gcc -Wall happyGuido van Rossum1998-04-101-2/+4
|
* Support raise with no parameters.Fred Drake1998-04-101-3/+4
|
* Remove requirement for strdup() since it causes so many troubles for too manyFred Drake1997-10-091-4/+4
| | | | platforms. Argh!
* Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS.Guido van Rossum1997-10-081-0/+3
| | | | | This should make everybody happy, especially since we don't say what the argument type is (there is disagreement on that, too :-( ).
* initparser(): Use PyErr_NewException() to create the exception.Fred Drake1997-10-071-1/+1
|
* Removed extern declaration of strdup(). Doesn't appear to be important andFred Drake1997-09-301-10/+0
| | | | causes ugly noises under Windows.
* Add doc string to type object.Fred Drake1997-05-231-1/+12
|
* Support assert stmt.Guido van Rossum1997-04-021-1/+32
|
* Initialize the ob_type field of PyAST_Type dynamically (inGuido van Rossum1997-01-231-3/+7
| | | | | | | | | initparser()) instead of statically (in the initializer). The static initialization, using the address of an object in a different DLL, is too much for the Microsoft VC++ compiler, and we want to be able to build this module as a separate DLL (it's nice to have but we don't want to increase the core DLL's size by 25K). This same trick has been applied to a number of modules, e.g. NumPy and _tkinter.
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-2/+2
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-10/+17
|
* (parsermodule.c): Fixed sloppy typo: '==' -> '='Fred Drake1996-09-111-2/+2
|
* Patches to make it compile with K&R CGuido van Rossum1996-08-211-25/+25
|
* Support for old CPPGuido van Rossum1996-08-211-0/+4
|
* New batch from FredGuido van Rossum1996-08-211-316/+428
|
* New submission by Fred Drake.Guido van Rossum1996-07-211-775/+1102
|
* fix argcount bug for build_node_childrenGuido van Rossum1996-01-121-1/+1
|
* Fred Drake's new parser moduleGuido van Rossum1995-10-111-51/+2120
|
* Made some more things static, and other cleanup for new naming schemeGuido van Rossum1995-01-171-1/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-1/+0
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-5/+5
|
* * parsermodule.c, Makefile, config.c: rudimentary interface to the PythonGuido van Rossum1993-11-101-0/+108
parser. * mappingobject.c (lookmapping): 'freeslot' was never used due to a bug in the code.