summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-09-06 06:28:06 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-09-06 06:28:06 (GMT)
commitca460d9722c9542004c4cf34d9231641ac18e34b (patch)
treeb007e31668de7ff4b37e0c8d80dc575e8b600118 /Include
parent98775dfebc86aca40b27dcca5e4f4fd3a07e8acb (diff)
downloadcpython-ca460d9722c9542004c4cf34d9231641ac18e34b.zip
cpython-ca460d9722c9542004c4cf34d9231641ac18e34b.tar.gz
cpython-ca460d9722c9542004c4cf34d9231641ac18e34b.tar.bz2
with and as are now keywords. There are some generated files I can't recreate.
Diffstat (limited to 'Include')
-rw-r--r--Include/code.h2
-rw-r--r--Include/parsetok.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/Include/code.h b/Include/code.h
index 6c0e706..744c1a6 100644
--- a/Include/code.h
+++ b/Include/code.h
@@ -52,7 +52,9 @@ typedef struct {
/* This should be defined if a future statement modifies the syntax.
For example, when a keyword is added.
*/
+#if 0
#define PY_PARSER_REQUIRES_FUTURE_KEYWORD
+#endif
#define CO_MAXBLOCKS 20 /* Max static block nesting within a function */
diff --git a/Include/parsetok.h b/Include/parsetok.h
index 0f87e81..2b4ce1e 100644
--- a/Include/parsetok.h
+++ b/Include/parsetok.h
@@ -23,7 +23,9 @@ typedef struct {
#define PyPARSE_DONT_IMPLY_DEDENT 0x0002
+#if 0
#define PyPARSE_WITH_IS_KEYWORD 0x0003
+#endif
PyAPI_FUNC(node *) PyParser_ParseString(const char *, grammar *, int,
perrdetail *);