aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
Diffstat (limited to 'semantics.h')
-rw-r--r--semantics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/semantics.h b/semantics.h
index 0a555df..a6c4df7 100644
--- a/semantics.h
+++ b/semantics.h
@@ -13,12 +13,14 @@ typedef CSymbol *CSymbol_t;
typedef struct CDef CDef;
typedef CDef *CDef_t;
+typedef struct CBList *CBList_t;
struct CVar {
char *name;
CVar_t next; /* next in the linked list */
CType_t type;
int start;
CNode *ast;
+ CBList_t defsite;
};
CVar_t cvar_create(char *name, CType_t type, CNode *ast);