diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-06-10 00:45:24 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-06-10 00:45:24 -0400 |
| commit | b7811d32690a9f3b4912635e16e6aa5ace25362c (patch) | |
| tree | 1e254f66aeb94a4efcc8ca40e8c8043ab4801406 /src/parser.cpp | |
| parent | 9c2ed8d103ee3c8cf6e8a07ad7c9653137a89784 (diff) | |
| download | zig-b7811d32690a9f3b4912635e16e6aa5ace25362c.tar.gz zig-b7811d32690a9f3b4912635e16e6aa5ace25362c.zip | |
whitespace cleanup
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index af98a4be93..33f8836ef3 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -891,7 +891,7 @@ static AstNode *ast_parse_if_statement(ParseContext *pc) { } if (body == nullptr) { - Token *tok = eat_token(pc); + Token *tok = eat_token(pc); ast_error(pc, tok, "expected if body, found '%s'", token_name(tok->id)); } @@ -1000,7 +1000,7 @@ static AstNode *ast_parse_for_statement(ParseContext *pc) { } if (body == nullptr) { - Token *tok = eat_token(pc); + Token *tok = eat_token(pc); ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id)); } @@ -1034,7 +1034,7 @@ static AstNode *ast_parse_while_statement(ParseContext *pc) { } if (body == nullptr) { - Token *tok = eat_token(pc); + Token *tok = eat_token(pc); ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id)); } |
