| 63 | } |
| 64 | |
| 65 | AstStatement* MakeBlockStatement(StatementType type, std::string code) { |
| 66 | AstStatement* stmt = MakeStatement(type, code); |
| 67 | stmt->sub = NewList(); |
| 68 | return stmt; |
| 69 | } |
| 70 | |
| 71 | AstStatement* MakeIfStatement(std::string test) { |
| 72 | AstStatement* ifstmt = MakeBlockStatement(IF_STMT, test); |
no test coverage detected