summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/types.h b/types.h
index 8d68ab7..50983a2 100644
--- a/types.h
+++ b/types.h
@@ -882,8 +882,12 @@ typedef struct Declaration {
};
Value val; /* only for constant decls, non-constant globals, and varargs. */
- /* for eval, for non-constant local decls: */
- /* the pointers to values need to be fixed, which is why this isn't just Value *. */
+ /*
+ for eval, for non-constant local decls
+ the pointers to values need to be fixed, which is why this isn't just Value *.
+ no, this can't be a union with val, because of global variables and possibly
+ other things (varargs maybe?)
+ */
Value **val_stack;
} Declaration;
typedef Declaration *DeclarationPtr;