diff options
Diffstat (limited to 'src/wast-lexer.cc')
-rw-r--r-- | src/wast-lexer.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc index 7ae2b4cd..81d6109c 100644 --- a/src/wast-lexer.cc +++ b/src/wast-lexer.cc @@ -460,6 +460,11 @@ int WastLexer::GetToken(Token* lval, Location* loc, WastParser* parser) { RETURN(ASSERT_RETURN_ARITHMETIC_NAN); } <i> "assert_trap" { RETURN(ASSERT_TRAP); } <i> "assert_exhaustion" { RETURN(ASSERT_EXHAUSTION); } + <i> "try" { RETURN(TRY); } + <i> "catch" { RETURN(CATCH); } + <i> "catch_all" { RETURN(CATCH_ALL); } + <i> "throw" { RETURN(THROW); } + <i> "rethrow" { RETURN(RETHROW); } <i> name { TEXT; RETURN(VAR); } <i> ";;" => LINE_COMMENT { continue; } |