summaryrefslogtreecommitdiff
path: root/Include/parsetok.h
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 23:53:36 +0000
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 23:53:36 +0000
commitc24ea08644279224a7a8be419648261f9566c9b3 (patch)
treece7be60ecb2edfe2e8dbac4c231ef881130b3071 /Include/parsetok.h
parent12a6d942d8138b4dd1a32d4d9a40ca312708aeee (diff)
downloadcpython-git-c24ea08644279224a7a8be419648261f9566c9b3.tar.gz
Disable the parser hacks that enabled the "yield" keyword using a future
statement.
Diffstat (limited to 'Include/parsetok.h')
-rw-r--r--Include/parsetok.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/parsetok.h b/Include/parsetok.h
index 66359d4252..bfe9f8f494 100644
--- a/Include/parsetok.h
+++ b/Include/parsetok.h
@@ -17,7 +17,9 @@ typedef struct {
int expected;
} perrdetail;
+#if 0
#define PyPARSE_YIELD_IS_KEYWORD 0x0001
+#endif
extern DL_IMPORT(node *) PyParser_ParseString(char *, grammar *, int,
perrdetail *);