diff options
| author | hachem <im@hachem.wtf> | 2026-09-19 14:38:55 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-19 14:38:55 +0200 |
| commit | b79902cd36b2c5b54bbf0f07078fc528754977b2 (patch) | |
| tree | 0f3baa55b58831c46c7631619f76eef5cb371f71 /main.c | |
| parent | 7160bdb390ef1c9bdcfb0c075b33be39d62860f3 (diff) | |
feat: variables and shi
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,7 +13,11 @@ static int run_program(void) if (status != 0 || lexer_failed()) status = 1; else - status = execute(program_root) == RUN_FAILED; + { + struct Machine machine; + machine_init(&machine); + status = execute(&machine, program_root) == RUN_FAILED; + } node_free(program_root); program_root = NULL; |
