summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libs/lex/lex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/lex/lex.cpp b/src/libs/lex/lex.cpp
index 84891f1..d493910 100644
--- a/src/libs/lex/lex.cpp
+++ b/src/libs/lex/lex.cpp
@@ -45,6 +45,8 @@ Lex::Lex(const char* s, bool ignoreCase/* = false */) {
input = s;
p = input;
ignoringCase = ignoreCase;
+ token = ERROR;
+ iValue = 0;
} // Lex::Lex
///////////////////////////////////////////////////////////////////////////////