summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-11-03 19:33:48 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-11-03 19:33:48 -0500
commitdb354b0994e4606d8f27e17dc24dbc81f0113c7a (patch)
treeebc727cf2298ecd13052f000ad0fb49cc0aa5cf1 /types.h
parent7a135cb2d258fee49880d3dd9f5f43096bd73331 (diff)
started to get user-defined types to work with pointers to future types
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/types.h b/types.h
index 2ddd648..0313691 100644
--- a/types.h
+++ b/types.h
@@ -513,6 +513,9 @@ typedef struct Declaration {
Expression expr;
Value val; /* only for constant decls. */
+ struct {
+ IdentID *ids; /* array of IDs used in place of ident names. unfortunately needed for user defined types. this is NOT a dynamic array, but is of length arr_len(idents). */
+ } c;
} Declaration;
typedef enum {