diff options
Diffstat (limited to 'src/test-wast-parser.cc')
-rw-r--r-- | src/test-wast-parser.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test-wast-parser.cc b/src/test-wast-parser.cc index 69b5cf67..60fc601d 100644 --- a/src/test-wast-parser.cc +++ b/src/test-wast-parser.cc @@ -34,8 +34,9 @@ std::string repeat(std::string s, size_t count) { } Errors ParseInvalidModule(std::string text) { - auto lexer = WastLexer::CreateBufferLexer("test", text.c_str(), text.size()); Errors errors; + auto lexer = + WastLexer::CreateBufferLexer("test", text.c_str(), text.size(), &errors); std::unique_ptr<Module> module; Features features; WastParseOptions options(features); |