diff options
Diffstat (limited to 'cpp/src/IceStorm/Parser.cpp')
-rw-r--r-- | cpp/src/IceStorm/Parser.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IceStorm/Parser.cpp b/cpp/src/IceStorm/Parser.cpp index f7b67b7303f..6d412c0d9e6 100644 --- a/cpp/src/IceStorm/Parser.cpp +++ b/cpp/src/IceStorm/Parser.cpp @@ -22,12 +22,13 @@ # include <readline/history.h> #endif +extern FILE* yyin; +extern int yydebug; + using namespace std; using namespace Ice; using namespace IceStorm; -extern FILE* yyin; - namespace IceStorm { @@ -593,7 +594,6 @@ Parser::warning(const string& s) int Parser::parse(FILE* file, bool debug) { - extern int yydebug; yydebug = debug ? 1 : 0; assert(!parser); @@ -622,7 +622,6 @@ Parser::parse(FILE* file, bool debug) int Parser::parse(const std::string& commands, bool debug) { - extern int yydebug; yydebug = debug ? 1 : 0; assert(!parser); |