summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-25 05:03:39 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-25 05:03:39 +0000
commitc10149b31b56984a82c9272349a664cc1f44ef43 (patch)
tree52c30436baecb356b7333a53a8f670a7e68a42db /cpp/src/Slice/Parser.cpp
parentfixes (diff)
downloadice-c10149b31b56984a82c9272349a664cc1f44ef43.tar.bz2
ice-c10149b31b56984a82c9272349a664cc1f44ef43.tar.xz
ice-c10149b31b56984a82c9272349a664cc1f44ef43.zip
fixes
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r--cpp/src/Slice/Parser.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 02340d845eb..326a20644b0 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -2204,13 +2204,11 @@ Slice::Unit::parse(FILE* file, bool debug)
assert(!Slice::unit);
Slice::unit = this;
- _errors = 0;
_currentComment = "";
_currentLine = 1;
_currentIncludeLevel = 0;
_currentFile = "";
_topLevelFile = "";
- _includeFiles.clear();
pushContainer(this);
extern FILE* yyin;
@@ -2273,7 +2271,8 @@ Slice::Unit::Unit(bool ignRedefs, bool all) :
SyntaxTreeBase(0),
Container(0),
_ignRedefs(ignRedefs),
- _all(all)
+ _all(all),
+ _errors(0)
{
_unit = this;
}