summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wast-lexer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc
index 4265232c..4e5b14a8 100644
--- a/src/wast-lexer.cc
+++ b/src/wast-lexer.cc
@@ -98,6 +98,8 @@ struct WastLexer::LexToken {
Location loc_;
int value_;
Token lval_;
+
+ LexToken(void): value_(0) {}
};
struct WastLexer::Lookahead {