diff options
author | Ben Smith <binjimin@gmail.com> | 2017-07-06 13:07:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-06 13:07:24 -0700 |
commit | a5066278b34021de22b150442cb7a94d62e22102 (patch) | |
tree | cbc6e48d6397155bfe454f0b186209c0ac13b270 /test/spec/token.txt | |
parent | 12963c80e7083de8c0835745ec934ea356b9ef47 (diff) | |
download | wabt-a5066278b34021de22b150442cb7a94d62e22102.tar.gz wabt-a5066278b34021de22b150442cb7a94d62e22102.tar.bz2 wabt-a5066278b34021de22b150442cb7a94d62e22102.zip |
Remove BinaryErrorHandler, rename SourceErrorHandler (#553)
Since SourceErrorHandler can support binary locations, it doesn't make
much sense to have two different error handlers. There is now only an
ErrorHandler base class, and the first argument specifies whether the
error handler is expecting text or binary locations.
Diffstat (limited to 'test/spec/token.txt')
-rw-r--r-- | test/spec/token.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/spec/token.txt b/test/spec/token.txt index 220b86f9..bab6656e 100644 --- a/test/spec/token.txt +++ b/test/spec/token.txt @@ -2,17 +2,17 @@ ;;; STDIN_FILE: third_party/testsuite/token.wast (;; STDOUT ;;; out/third_party/testsuite/token.wast:4: assert_malformed passed: - out/third_party/testsuite/token/token.0.wast:1:14: unexpected token "i32.const0" + out/third_party/testsuite/token/token.0.wast:1:14: error: unexpected token "i32.const0" (func (drop (i32.const0))) ^^^^^^^^^^ - out/third_party/testsuite/token/token.0.wast:1:24: syntax error, unexpected ) + out/third_party/testsuite/token/token.0.wast:1:24: error: syntax error, unexpected ) (func (drop (i32.const0))) ^ out/third_party/testsuite/token.wast:8: assert_malformed passed: - out/third_party/testsuite/token/token.1.wast:1:10: unexpected token "0drop" + out/third_party/testsuite/token/token.1.wast:1:10: error: unexpected token "0drop" (func br 0drop) ^^^^^ - out/third_party/testsuite/token/token.1.wast:1:15: syntax error, unexpected ), expecting NAT or VAR + out/third_party/testsuite/token/token.1.wast:1:15: error: syntax error, unexpected ), expecting NAT or VAR (func br 0drop) ^ 2/2 tests passed. |