Author: victor.stinner Date: Wed Dec 29 00:05:20 2010 New Revision: 87557 Log: Compile pgenmain.c and printgrammar.c with PGEN defined Modified: python/branches/py3k/Parser/pgenmain.c python/branches/py3k/Parser/printgrammar.c Modified: python/branches/py3k/Parser/pgenmain.c ============================================================================== --- python/branches/py3k/Parser/pgenmain.c (original) +++ python/branches/py3k/Parser/pgenmain.c Wed Dec 29 00:05:20 2010 @@ -13,6 +13,8 @@ - check for duplicate definitions of names (instead of fatal err) */ +#define PGEN + #include "Python.h" #include "pgenheaders.h" #include "grammar.h" Modified: python/branches/py3k/Parser/printgrammar.c ============================================================================== --- python/branches/py3k/Parser/printgrammar.c (original) +++ python/branches/py3k/Parser/printgrammar.c Wed Dec 29 00:05:20 2010 @@ -1,6 +1,8 @@ /* Print a bunch of C initializers that represent a grammar */ +#define PGEN + #include "pgenheaders.h" #include "grammar.h"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4