summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/types.h b/types.h
index 67c0645..f7b524a 100644
--- a/types.h
+++ b/types.h
@@ -187,7 +187,7 @@ typedef struct IdentSlot {
struct Declaration *decl;
struct Expression *expr; /* for example, this identifier is declared in a for expression */
};
- struct Block *scope; /* NULL for file scope */
+ struct Identifiers *idents;
Value val;
SOURCE_LOCATION
U16 flags;
@@ -215,6 +215,7 @@ typedef IdentSlot *IdentSlotPtr;
typedef struct Identifiers {
StrHashTable table;
U32 rseed;
+ struct Block *scope; /* NULL for file scope */
} Identifiers;
typedef enum {