summaryrefslogtreecommitdiff
path: root/src/wast-lexer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wast-lexer.cc')
-rw-r--r--src/wast-lexer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc
index 9aa4f113..cb0a5a2e 100644
--- a/src/wast-lexer.cc
+++ b/src/wast-lexer.cc
@@ -477,6 +477,7 @@ Token WastLexer::GetToken(WastParser* parser) {
<i> "throw" { RETURN_OPCODE0(Throw); }
<i> "rethrow" { RETURN_OPCODE0(Rethrow); }
<i> name { RETURN_TEXT(Var); }
+ <i> "shared" { RETURN(Shared); }
<i> ";;" => LINE_COMMENT { continue; }
<LINE_COMMENT> "\n" => i { NEWLINE; continue; }