diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-11-03 19:33:48 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-11-03 19:33:48 -0500 |
commit | db354b0994e4606d8f27e17dc24dbc81f0113c7a (patch) | |
tree | ebc727cf2298ecd13052f000ad0fb49cc0aa5cf1 /types.h | |
parent | 7a135cb2d258fee49880d3dd9f5f43096bd73331 (diff) |
started to get user-defined types to work with pointers to future types
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |