diff options
author | Guido van Rossum <guido@python.org> | 1993-10-26 17:58:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-10-26 17:58:25 (GMT) |
commit | 12d12c5faf4d770160b7975b54e8f9b12694e012 (patch) | |
tree | e5528ca45963a90c5797073228090d221cdc6bba /Include/compile.h | |
parent | 444fc7c90cf210ec72f1c4204310f659263b6f75 (diff) | |
download | cpython-12d12c5faf4d770160b7975b54e8f9b12694e012.zip cpython-12d12c5faf4d770160b7975b54e8f9b12694e012.tar.gz cpython-12d12c5faf4d770160b7975b54e8f9b12694e012.tar.bz2 |
* compile.[ch]: support for lambda()
* PROTO.h, mymalloc.h: added #ifdefs for TURBOC and GNUC.
* allobjects.h: added #include "rangeobject.h"
* Grammar: added lambda_input; relaxed syntax for exec.
* bltinmodule.c: added bagof, map, reduce, lambda, xrange.
* tupleobject.[ch]: added resizetuple().
* rangeobject.[ch]: new object type to speed up range operations (not
convinced this is needed!!!)
Diffstat (limited to 'Include/compile.h')
-rw-r--r-- | Include/compile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/compile.h b/Include/compile.h index a23fea1..2b0b29e 100644 --- a/Include/compile.h +++ b/Include/compile.h @@ -54,10 +54,12 @@ extern typeobject Codetype; /* Public interface */ struct _node; /* Declare the existence of this type */ -codeobject *compile PROTO((struct _node *, char *)); +codeobject *_compile PROTO((struct _node *, char *, int)); codeobject *newcodeobject PROTO((object *, object *, object *, object *, object *)); +#define compile(n,f) (_compile((n),(f),0)) + #ifdef __cplusplus } #endif |