diff options
author | Himbeer <himbeer@disroot.org> | 2024-10-01 18:39:05 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-10-01 18:50:45 +0200 |
commit | 7c974011b2d2812550de0c1af49fa83b18ea3f81 (patch) | |
tree | 71dbff83e8f14078ae370a53b8cfdd13655c4b7d | |
parent | ce68792c848caee2f184e7a6392d9f1e958da1a1 (diff) |
Fix for loop AST node referencing struct ast_assign under the wrong name
-rw-r--r-- | include/parse.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/parse.h b/include/parse.h index 18207bc..ff5e3f1 100644 --- a/include/parse.h +++ b/include/parse.h @@ -93,9 +93,8 @@ struct ast_if { struct ast_for { const char *label; - struct ast_assignment *init; + struct ast_assign *init, *action; struct ast_expr cond; - struct ast_assignment *action; struct ast_block blk; }; |