diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2021-04-09 11:28:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-09 11:28:06 +0100 |
| commit | 5bc9e4e4f78206d9a46a32505b27c314d93e61ff (patch) | |
| tree | 72dd2bc6221ac251f6846525cee43a8dfa6683a4 /src | |
| parent | 2d99a348b8f4ae201b2b9d8271fb0d63a2dbc125 (diff) | |
| parent | 011c8d5cda343ea93cbe6d2dc77bc1aeb6f5c1fb (diff) | |
Merge pull request #901 from atkurtul/swarning
fix Syntax Warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/tokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokenizer.cpp b/src/tokenizer.cpp index 509bcb9cd..081ef6443 100644 --- a/src/tokenizer.cpp +++ b/src/tokenizer.cpp @@ -478,7 +478,7 @@ void syntax_warning_va(Token token, char const *fmt, va_list va) { // NOTE(bill): Duplicate error, skip it if (global_error_collector.prev != token.pos) { global_error_collector.prev = token.pos; - error_out("%S Syntax Warning: %s\n", + error_out("%s Syntax Warning: %s\n", token_pos_to_string(token.pos), gb_bprintf_va(fmt, va)); } else if (token.pos.line == 0) { |