diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-18 14:46:02 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-18 14:46:02 +0330 |
commit | 1644f22d76b24ead55fdf7ad48ec7b32323b427b (patch) | |
tree | 7d0fae21da2e0a1c7b3088740dcb106d1ab7b1c7 /src/compiler/ast-tree.h | |
parent | bf024f847ff540ced7acf89a59b135f039bb33c1 (diff) |
fix variable definition in loops
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index a5af775..43971ab 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -111,6 +111,7 @@ typedef struct AstTreeVariable { char *name_end; AstTree *type; AstTree *value; + AstTree *initValue; bool isConst; } AstTreeVariable; |