aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-29 15:17:40 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-29 15:17:40 +0800
commit9ae0ff9fdd9266a6fdf2e463e58204f050a02589 (patch)
treea757cb82cd2a4fe7a690af7f20645701fa265f1b /semantics.h
parent1d0cb4a804fd276a9f768680f59ecd4642066e28 (diff)
...
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);