diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-28 23:05:20 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-28 23:05:20 (GMT) |
commit | 60fe4999413fe31f8e19823c430e6699a058d30d (patch) | |
tree | 58a19fbe72c29ef635bcd8d6e122d975b8e16271 | |
parent | 251cc846f3f7c150727370f00b8062b002a9e154 (diff) | |
download | cpython-60fe4999413fe31f8e19823c430e6699a058d30d.zip cpython-60fe4999413fe31f8e19823c430e6699a058d30d.tar.gz cpython-60fe4999413fe31f8e19823c430e6699a058d30d.tar.bz2 |
Compile pgenmain.c and printgrammar.c with PGEN defined
-rw-r--r-- | Parser/pgenmain.c | 2 | ||||
-rw-r--r-- | Parser/printgrammar.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c index 88fa7f1..4b7b55a 100644 --- a/Parser/pgenmain.c +++ b/Parser/pgenmain.c @@ -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" diff --git a/Parser/printgrammar.c b/Parser/printgrammar.c index 01f552f..dd7e6ae 100644 --- a/Parser/printgrammar.c +++ b/Parser/printgrammar.c @@ -1,6 +1,8 @@ /* Print a bunch of C initializers that represent a grammar */ +#define PGEN + #include "pgenheaders.h" #include "grammar.h" |