commit | 5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri May 31 13:11:40 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri May 31 13:11:40 2002 +0000 |
tree | 5d27c49d9d5c3c62edf13ce7f914af4beb26c83e | |
parent | 8c20916de21c839d0ffc16099e161ab8ca472dea [diff] [blame] |
Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c
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] */