aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-01 22:24:22 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-01 22:24:22 +0800
commitdc0b69f1d2c44f5a45e1ce9eb7f2885ab33cb335 (patch)
tree8b8a489ff9ccbaedb6e7fa5b1387d4c0beaea022 /semantics.h
parent624acc18eff51100116c4af09cab9fdbd51f54e6 (diff)
...
Diffstat (limited to 'semantics.h')
-rw-r--r--semantics.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/semantics.h b/semantics.h
index 7fb8273..8f04f16 100644
--- a/semantics.h
+++ b/semantics.h
@@ -27,6 +27,13 @@ struct CVList {
CVList_t next;
};
+typedef struct CSList CSList;
+typedef CSList *CSList_t;
+struct CSList {
+ char *str;
+ int id;
+ CSList_t next;
+};
typedef struct CBList *CBList_t;
typedef struct COList *COList_t;
@@ -194,4 +201,5 @@ int align_shift(int x);
extern CTList_t funcs;
extern CVList_t gvars;
+extern CSList_t cstrs;
#endif