diff options
Diffstat (limited to 'src/tools/wat-desugar.cc')
-rw-r--r-- | src/tools/wat-desugar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wat-desugar.cc b/src/tools/wat-desugar.cc index f291a995..5deb9615 100644 --- a/src/tools/wat-desugar.cc +++ b/src/tools/wat-desugar.cc @@ -90,7 +90,7 @@ int ProgramMain(int argc, char** argv) { WABT_FATAL("unable to read %s\n", s_infile); } - ErrorHandlerFile error_handler(Location::Type::Text); + ErrorHandlerFile error_handler(Location::Type::Text, lexer->MakeLineFinder()); std::unique_ptr<Script> script; WastParseOptions parse_wast_options(s_features); Result result = ParseWastScript(lexer.get(), &script, &error_handler, |