From 4466a4533c0f1ba33143bfead7ba99910d331531 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 29 Nov 2015 12:00:26 -0700 Subject: parser: add missing `static` --- src/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index fe10e23b72..07ade572f0 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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)); -- cgit v1.2.3