summaryrefslogtreecommitdiff
path: root/src/wasm-parser-lexer-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-parser-lexer-shared.h')
-rw-r--r--src/wasm-parser-lexer-shared.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wasm-parser-lexer-shared.h b/src/wasm-parser-lexer-shared.h
index cb967e5a..25178409 100644
--- a/src/wasm-parser-lexer-shared.h
+++ b/src/wasm-parser-lexer-shared.h
@@ -86,11 +86,11 @@ WasmResult wasm_lexer_get_source_line(WasmLexer*,
char* line,
size_t* out_line_length,
int* out_column_offset);
-void wasm_parser_error(struct WasmLocation*,
- WasmLexer*,
- struct WasmParser*,
- const char*,
- ...);
+void WASM_PRINTF_FORMAT(4, 5) wasm_parser_error(struct WasmLocation*,
+ WasmLexer*,
+ struct WasmParser*,
+ const char*,
+ ...);
void wasm_format_error(WasmSourceErrorHandler*,
const struct WasmLocation*,
WasmLexer*,