authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-10 00:45:24-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-10 00:45:24-04:00
logb7811d32690a9f3b4912635e16e6aa5ace25362c
tree1e254f66aeb94a4efcc8ca40e8c8043ab4801406
parent9c2ed8d103ee3c8cf6e8a07ad7c9653137a89784
signaturelock-open Commit is signed but in an unrecognized format.

whitespace cleanup


1 files changed, 3 insertions(+), 3 deletions(-)

src/parser.cpp+3-3
......@@ -891,7 +891,7 @@ static AstNode *ast_parse_if_statement(ParseContext *pc) {
891891 }
892892
893893 if (body == nullptr) {
894 Token *tok = eat_token(pc);
894 Token *tok = eat_token(pc);
895895 ast_error(pc, tok, "expected if body, found '%s'", token_name(tok->id));
896896 }
897897
......@@ -1000,7 +1000,7 @@ static AstNode *ast_parse_for_statement(ParseContext *pc) {
10001000 }
10011001
10021002 if (body == nullptr) {
1003 Token *tok = eat_token(pc);
1003 Token *tok = eat_token(pc);
10041004 ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id));
10051005 }
10061006
......@@ -1034,7 +1034,7 @@ static AstNode *ast_parse_while_statement(ParseContext *pc) {
10341034 }
10351035
10361036 if (body == nullptr) {
1037 Token *tok = eat_token(pc);
1037 Token *tok = eat_token(pc);
10381038 ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id));
10391039 }
10401040