diff options
Diffstat (limited to 'src/wast-parser-lexer-shared.cc')
-rw-r--r-- | src/wast-parser-lexer-shared.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wast-parser-lexer-shared.cc b/src/wast-parser-lexer-shared.cc index e7931530..58b9b7a3 100644 --- a/src/wast-parser-lexer-shared.cc +++ b/src/wast-parser-lexer-shared.cc @@ -49,8 +49,8 @@ void WastFormatError(ErrorHandler* error_handler, } } - error_handler->OnError(*loc, std::string(buffer), source_line.line, - source_line.column_offset); + error_handler->OnError(ErrorLevel::Error, *loc, std::string(buffer), + source_line.line, source_line.column_offset); va_end(args_copy); } |