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) {...@@ -891,7 +891,7 @@ static AstNode *ast_parse_if_statement(ParseContext *pc) {
891 }891 }
892892
893 if (body == nullptr) {893 if (body == nullptr) {
894 Token *tok = eat_token(pc);894 Token *tok = eat_token(pc);
895 ast_error(pc, tok, "expected if body, found '%s'", token_name(tok->id));895 ast_error(pc, tok, "expected if body, found '%s'", token_name(tok->id));
896 }896 }
897897
...@@ -1000,7 +1000,7 @@ static AstNode *ast_parse_for_statement(ParseContext *pc) {...@@ -1000,7 +1000,7 @@ static AstNode *ast_parse_for_statement(ParseContext *pc) {
1000 }1000 }
10011001
1002 if (body == nullptr) {1002 if (body == nullptr) {
1003 Token *tok = eat_token(pc);1003 Token *tok = eat_token(pc);
1004 ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id));1004 ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id));
1005 }1005 }
10061006
...@@ -1034,7 +1034,7 @@ static AstNode *ast_parse_while_statement(ParseContext *pc) {...@@ -1034,7 +1034,7 @@ static AstNode *ast_parse_while_statement(ParseContext *pc) {
1034 }1034 }
10351035
1036 if (body == nullptr) {1036 if (body == nullptr) {
1037 Token *tok = eat_token(pc);1037 Token *tok = eat_token(pc);
1038 ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id));1038 ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id));
1039 }1039 }
10401040