feat: full while/until loops support, important bug fixes and more tests
This commit is contained in:
parent
9e522b2a68
commit
f31fca4204
6 changed files with 85 additions and 37 deletions
|
|
@ -42,6 +42,12 @@ void ast_free(struct ast **node)
|
|||
case AST_ASSIGNMENT:
|
||||
ast_free_assignment(ast_get_assignment(*node));
|
||||
break;
|
||||
case AST_NEG:
|
||||
ast_free_neg(ast_get_neg(*node));
|
||||
break;
|
||||
case AST_LOOP:
|
||||
ast_free_loop(ast_get_loop(*node));
|
||||
break;
|
||||
case AST_VOID:
|
||||
case AST_END:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue