| ... | ... | @@ -10,8 +10,8 @@ |
| 10 | 10 | #include <stdarg.h> |
| 11 | 11 | #include <stdio.h> |
| 12 | 12 | |
| 13 | | static void ast_error(Token *token, const char *format, ...) __attribute__ ((noreturn)); |
| 14 | 13 | __attribute__ ((format (printf, 2, 3))) |
| 14 | __attribute__ ((noreturn)) |
| 15 | 15 | static void ast_error(Token *token, const char *format, ...) { |
| 16 | 16 | int line = token->start_line + 1; |
| 17 | 17 | int column = token->start_column + 1; |
| ... | ... | @@ -257,7 +257,7 @@ static void parse_string_literal(ParseContext *pc, Token *token, Buf *buf) { |
| 257 | 257 | assert(!escape); |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | | void ast_invalid_token_error(ParseContext *pc, Token *token) __attribute__ ((noreturn)); |
| 260 | __attribute__ ((noreturn)) |
| 261 | 261 | void ast_invalid_token_error(ParseContext *pc, Token *token) { |
| 262 | 262 | Buf token_value = BUF_INIT; |
| 263 | 263 | ast_buf_from_token(pc, token, &token_value); |