diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-11-29 12:00:26 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-11-29 12:00:34 -0700 |
| commit | 4466a4533c0f1ba33143bfead7ba99910d331531 (patch) | |
| tree | d3139e441bad7d5b24d41d0e71b1b48fcfb93037 /src/parser.cpp | |
| parent | 855d51840dbb14888b4a727c495e01f96027985a (diff) | |
| download | zig-4466a4533c0f1ba33143bfead7ba99910d331531.tar.gz zig-4466a4533c0f1ba33143bfead7ba99910d331531.zip | |
parser: add missing `static`
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
