| ... | ... | @@ -891,7 +891,7 @@ static AstNode *ast_parse_if_statement(ParseContext *pc) { |
| 891 | 891 | } |
| 892 | 892 | |
| 893 | 893 | if (body == nullptr) { |
| 894 | | 	Token *tok = eat_token(pc); |
| 894 | Token *tok = eat_token(pc); |
| 895 | 895 | ast_error(pc, tok, "expected if body, found '%s'", token_name(tok->id)); |
| 896 | 896 | } |
| 897 | 897 | |
| ... | ... | @@ -1000,7 +1000,7 @@ static AstNode *ast_parse_for_statement(ParseContext *pc) { |
| 1000 | 1000 | } |
| 1001 | 1001 | |
| 1002 | 1002 | if (body == nullptr) { |
| 1003 | | 	Token *tok = eat_token(pc); |
| 1003 | Token *tok = eat_token(pc); |
| 1004 | 1004 | ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id)); |
| 1005 | 1005 | } |
| 1006 | 1006 | |
| ... | ... | @@ -1034,7 +1034,7 @@ static AstNode *ast_parse_while_statement(ParseContext *pc) { |
| 1034 | 1034 | } |
| 1035 | 1035 | |
| 1036 | 1036 | if (body == nullptr) { |
| 1037 | | 	Token *tok = eat_token(pc); |
| 1037 | Token *tok = eat_token(pc); |
| 1038 | 1038 | ast_error(pc, tok, "expected loop body, found '%s'", token_name(tok->id)); |
| 1039 | 1039 | } |
| 1040 | 1040 | |