Compile pgenmain.c and printgrammar.c with PGEN defined

This commit is contained in:
Victor Stinner 2010-12-28 23:05:20 +00:00
parent 251cc846f3
commit 60fe499941
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@
- check for duplicate definitions of names (instead of fatal err) - check for duplicate definitions of names (instead of fatal err)
*/ */
#define PGEN
#include "Python.h" #include "Python.h"
#include "pgenheaders.h" #include "pgenheaders.h"
#include "grammar.h" #include "grammar.h"

View File

@ -1,6 +1,8 @@
/* Print a bunch of C initializers that represent a grammar */ /* Print a bunch of C initializers that represent a grammar */
#define PGEN
#include "pgenheaders.h" #include "pgenheaders.h"
#include "grammar.h" #include "grammar.h"