diff options
author | Ben Smith <binjimin@gmail.com> | 2016-06-24 13:46:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 13:46:22 -0700 |
commit | 35600ece919c127db39e625be103a149746fb7b1 (patch) | |
tree | 7d981fbc79fd5a7aaf26bebcd0c393892593f9d2 /test/parse/expr/bad-brtable-bad-depth.txt | |
parent | bb66db55c1767cb0cded918ef530f38aa956ffe9 (diff) | |
download | wabt-35600ece919c127db39e625be103a149746fb7b1.tar.gz wabt-35600ece919c127db39e625be103a149746fb7b1.tar.bz2 wabt-35600ece919c127db39e625be103a149746fb7b1.zip |
Update testsuite, and fix tests (#90)
* Modify AST parser to disallow any other order than `param`, `result`,
`local`.
* Allow parsing all var integers as int64 (the lookups will fail later.)
* Fix interpreter logic determining whether to adjust the stack; we were
correctly handling the case where `unreachable` was being used in an
expression (the value stack is adjusted "up" as if a value was
actually produced), but the same behavior is required for `br`,
`br_table` and `return`.
* Add NAT token to lexer/parser, which is an integer value without a
sign.
Diffstat (limited to 'test/parse/expr/bad-brtable-bad-depth.txt')
0 files changed, 0 insertions, 0 deletions