aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/tree.h b/src/include/tree.h
index 1cf029c..e42f761 100644
--- a/src/include/tree.h
+++ b/src/include/tree.h
@@ -24,7 +24,7 @@ typedef struct TREE_STRUC {
struct var_def_struc {
char* name;
struct TREE_STRUC* val;
- int is_const;
+ int* is_const;
} var_def;
struct var_struc {
@@ -49,7 +49,7 @@ typedef struct TREE_STRUC {
} str;
struct subtree_struc {
- struct TREE_STRUC* val;
+ struct TREE_STRUC** val;
size_t size;
} subtree;