| ... | @@ -401,7 +401,7 @@ static void parse_string_literal(ParseContext *pc, Token *token, Buf *buf) { | ... | @@ -401,7 +401,7 @@ static void parse_string_literal(ParseContext *pc, Token *token, Buf *buf) { |
| 401 | } | 401 | } |
| 402 | | 402 | |
| 403 | __attribute__ ((noreturn)) | 403 | __attribute__ ((noreturn)) |
| 404 | void ast_invalid_token_error(ParseContext *pc, Token *token) { | 404 | static void ast_invalid_token_error(ParseContext *pc, Token *token) { |
| 405 | Buf token_value = BUF_INIT; | 405 | Buf token_value = BUF_INIT; |
| 406 | ast_buf_from_token(pc, token, &token_value); | 406 | ast_buf_from_token(pc, token, &token_value); |
| 407 | ast_error(token, "invalid token: '%s'", buf_ptr(&token_value)); | 407 | ast_error(token, "invalid token: '%s'", buf_ptr(&token_value)); |