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)
*/
#define PGEN
#include "Python.h"
#include "pgenheaders.h"
#include "grammar.h"

View file

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