summaryrefslogtreecommitdiff
path: root/src/emscripten-helpers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emscripten-helpers.cc')
-rw-r--r--src/emscripten-helpers.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emscripten-helpers.cc b/src/emscripten-helpers.cc
index cd050f6d..03d5ad80 100644
--- a/src/emscripten-helpers.cc
+++ b/src/emscripten-helpers.cc
@@ -96,9 +96,10 @@ void wabt_destroy_features(wabt::Features* f) {
wabt::WastLexer* wabt_new_wast_buffer_lexer(const char* filename,
const void* data,
- size_t size) {
+ size_t size,
+ wabt::Errors* errors) {
std::unique_ptr<wabt::WastLexer> lexer =
- wabt::WastLexer::CreateBufferLexer(filename, data, size);
+ wabt::WastLexer::CreateBufferLexer(filename, data, size, errors);
return lexer.release();
}