summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r--cpp/src/Slice/Parser.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 318a6729df2..474503132b5 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -5521,7 +5521,9 @@ Slice::Unit::Unit(bool ignRedefs, bool all, bool allowIcePrefix, const StringLis
_all(all),
_allowIcePrefix(allowIcePrefix),
_defaultGlobalMetaData(defaultGlobalMetadata),
- _errors(0)
+ _errors(0),
+ _currentLine(0),
+ _currentIncludeLevel(0)
{
_unit = this;