mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
parser: add missing static
This commit is contained in:
parent
855d51840d
commit
4466a4533c
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ static void parse_string_literal(ParseContext *pc, Token *token, Buf *buf) {
|
|||
}
|
||||
|
||||
__attribute__ ((noreturn))
|
||||
void ast_invalid_token_error(ParseContext *pc, Token *token) {
|
||||
static void ast_invalid_token_error(ParseContext *pc, Token *token) {
|
||||
Buf token_value = BUF_INIT;
|
||||
ast_buf_from_token(pc, token, &token_value);
|
||||
ast_error(token, "invalid token: '%s'", buf_ptr(&token_value));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue