summaryrefslogtreecommitdiffstats
path: root/Include/graminit.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-10-26 17:58:25 (GMT)
committerGuido van Rossum <guido@python.org>1993-10-26 17:58:25 (GMT)
commit12d12c5faf4d770160b7975b54e8f9b12694e012 (patch)
treee5528ca45963a90c5797073228090d221cdc6bba /Include/graminit.h
parent444fc7c90cf210ec72f1c4204310f659263b6f75 (diff)
downloadcpython-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/graminit.h')
-rw-r--r--Include/graminit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/graminit.h b/Include/graminit.h
index 288e333..735838c 100644
--- a/Include/graminit.h
+++ b/Include/graminit.h
@@ -1,7 +1,7 @@
#define single_input 256
#define file_input 257
-#define expr_input 258
-#define eval_input 259
+#define eval_input 258
+#define lambda_input 259
#define funcdef 260
#define parameters 261
#define varargslist 262