summaryrefslogtreecommitdiff
path: root/src/wast-parser-lexer-shared.h
diff options
context:
space:
mode:
authorKarlSchimpf <karlschimpf@gmail.com>2017-06-13 14:25:11 -0700
committerGitHub <noreply@github.com>2017-06-13 14:25:11 -0700
commit4e5f32c19ed1b1756446231e9622e903137b0e27 (patch)
tree245d0c850db7b3976fc4702c1276a4175329127f /src/wast-parser-lexer-shared.h
parent194fbedf2065cc2ac09a4ead997256a8a8f8894a (diff)
downloadwabt-4e5f32c19ed1b1756446231e9622e903137b0e27.tar.gz
wabt-4e5f32c19ed1b1756446231e9622e903137b0e27.tar.bz2
wabt-4e5f32c19ed1b1756446231e9622e903137b0e27.zip
Add exception declarations and examples. (#494)
* Save state. * Add exception declaration syntax. * Extend validator to handle exception declarations. * Fix binary writer to handle exception declarations. * Fix code to handle external exception kind. * Regenerate lexer. * Fix bug with last merge. * Add exception declarations, and add examples. * Fix nits. * Fix issues raised by binji and sbc100. * Make "wast" and "wat" versions of try block the same internally. * Fix s-exp form of try block. * Fix nits in grammer for a try block.
Diffstat (limited to 'src/wast-parser-lexer-shared.h')
-rw-r--r--src/wast-parser-lexer-shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wast-parser-lexer-shared.h b/src/wast-parser-lexer-shared.h
index 69ef6530..76be8f31 100644
--- a/src/wast-parser-lexer-shared.h
+++ b/src/wast-parser-lexer-shared.h
@@ -71,6 +71,7 @@ union Token {
ConstVector* consts;
DataSegment* data_segment;
ElemSegment* elem_segment;
+ Exception* exception;
Export* export_;
Expr* expr;
ExprList expr_list;