diff options
author | Marc Laukien <marc@zeroc.com> | 2001-12-18 19:51:54 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-12-18 19:51:54 +0000 |
commit | 962348b466826f8ed899a8bd1755b939facc5f5d (patch) | |
tree | dd46b04451824177a5d4b53005bf69b5de0abad0 /cpp/src/Slice/Parser.cpp | |
parent | fixes (diff) | |
download | ice-962348b466826f8ed899a8bd1755b939facc5f5d.tar.bz2 ice-962348b466826f8ed899a8bd1755b939facc5f5d.tar.xz ice-962348b466826f8ed899a8bd1755b939facc5f5d.zip |
fixes
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 6eb7e5a16f3..f3a973488c5 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -14,6 +14,9 @@ using namespace std; using namespace Slice; +extern FILE* yyin; +extern int yydebug; + namespace Slice { @@ -2368,7 +2371,6 @@ Slice::Unit::includeFiles() int Slice::Unit::parse(FILE* file, bool debug) { - extern int yydebug; yydebug = debug ? 1 : 0; assert(!Slice::unit); @@ -2381,7 +2383,6 @@ Slice::Unit::parse(FILE* file, bool debug) _topLevelFile = ""; pushContainer(this); - extern FILE* yyin; yyin = file; int status = yyparse(); if (_errors) |