Compile pgenmain.c and printgrammar.c with PGEN defined
This commit is contained in:
parent
251cc846f3
commit
60fe499941
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue