diff options
author | KarlSchimpf <karlschimpf@gmail.com> | 2017-06-13 14:25:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 14:25:11 -0700 |
commit | 4e5f32c19ed1b1756446231e9622e903137b0e27 (patch) | |
tree | 245d0c850db7b3976fc4702c1276a4175329127f /src/binary-reader-ir.cc | |
parent | 194fbedf2065cc2ac09a4ead997256a8a8f8894a (diff) | |
download | wabt-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/binary-reader-ir.cc')
-rw-r--r-- | src/binary-reader-ir.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binary-reader-ir.cc b/src/binary-reader-ir.cc index 029cb3fc..5e58e7d6 100644 --- a/src/binary-reader-ir.cc +++ b/src/binary-reader-ir.cc @@ -481,6 +481,9 @@ Result BinaryReaderIR::OnExport(Index index, case ExternalKind::Global: assert(item_index < module->globals.size()); break; + case ExternalKind::Except: + WABT_FATAL("OnExport(except) not implemented\n"); + break; } export_->var.type = VarType::Index; export_->var.index = item_index; |