summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-22 03:29:32 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-22 03:29:32 (GMT)
commit44c4c6dbd6044291ca139edd4f0add84d784df04 (patch)
treedbe6a85be9ea84152f1b66b9c81e3dcf5a769fa7
parentfd1030e166805dafa1e3b78ef5b55d46d960af2b (diff)
downloadcpython-44c4c6dbd6044291ca139edd4f0add84d784df04.zip
cpython-44c4c6dbd6044291ca139edd4f0add84d784df04.tar.gz
cpython-44c4c6dbd6044291ca139edd4f0add84d784df04.tar.bz2
Py_GETENV is used by obmalloc and needs Py_IgnoreEnvironmentFlag. Provide it.
-rw-r--r--Parser/pgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index 55ce7a1..03d3c82 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -13,6 +13,7 @@
#include "pgen.h"
extern int Py_DebugFlag;
+int Py_IgnoreEnvironmentFlag; /* needed by Py_GETENV */
/* PART ONE -- CONSTRUCT NFA -- Cf. Algorithm 3.2 from [Aho&Ullman 77] */