summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/types.h b/types.h
index f499ef8..7f9328a 100644
--- a/types.h
+++ b/types.h
@@ -194,7 +194,7 @@ typedef struct IdentSlot {
IdentDecl *decls; /* array of declarations of this identifier */
} IdentSlot;
-typedef struct {
+typedef struct StrHashTableSlot {
const char *str;
size_t len;
MaxAlign data[];
@@ -202,7 +202,7 @@ typedef struct {
typedef StrHashTableSlot *StrHashTableSlotPtr;
-typedef struct {
+typedef struct StrHashTable {
StrHashTableSlot **slots;
Allocator *allocr;
U32 rand_seed;
@@ -697,6 +697,7 @@ const char *const builtin_val_names[BUILTIN_VAL_COUNT] =
typedef struct Namespace {
Block body;
+ Identifiers idents; /* these do not include local variables */
} Namespace;
enum {