[Python-checkins] r87557 - in python/branches/py3k/Parser: pgenmain.c printgrammar.c
victor.stinner
python-checkins at python.org
Wed Dec 29 00:05:26 CET 2010
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"
More information about the Python-checkins
mailing list