summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Parser.cpp')
-rw-r--r--cpp/src/IcePack/Parser.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IcePack/Parser.cpp b/cpp/src/IcePack/Parser.cpp
index c7a07bd6b17..541c3e5923d 100644
--- a/cpp/src/IcePack/Parser.cpp
+++ b/cpp/src/IcePack/Parser.cpp
@@ -22,12 +22,13 @@
#include <iterator>
+extern FILE* yyin;
+extern int yydebug;
+
using namespace std;
using namespace Ice;
using namespace IcePack;
-extern FILE* yyin;
-
namespace IcePack
{
@@ -867,7 +868,6 @@ IcePack::Parser::warning(const string& s)
int
IcePack::Parser::parse(FILE* file, bool debug)
{
- extern int yydebug;
yydebug = debug ? 1 : 0;
assert(!parser);
@@ -896,7 +896,6 @@ IcePack::Parser::parse(FILE* file, bool debug)
int
IcePack::Parser::parse(const std::string& commands, bool debug)
{
- extern int yydebug;
yydebug = debug ? 1 : 0;
assert(!parser);