summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 13:11:40 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 13:11:40 (GMT)
commit5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b (patch)
tree5d27c49d9d5c3c62edf13ce7f914af4beb26c83e
parent8c20916de21c839d0ffc16099e161ab8ca472dea (diff)
downloadcpython-5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b.zip
cpython-5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b.tar.gz
cpython-5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b.tar.bz2
Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c
-rw-r--r--Parser/pgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index 03d3c82..f3fdb46 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -13,7 +13,7 @@
#include "pgen.h"
extern int Py_DebugFlag;
-int Py_IgnoreEnvironmentFlag; /* needed by Py_GETENV */
+extern int Py_IgnoreEnvironmentFlag; /* needed by Py_GETENV */
/* PART ONE -- CONSTRUCT NFA -- Cf. Algorithm 3.2 from [Aho&Ullman 77] */