aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
Diffstat (limited to 'semantics.h')
-rw-r--r--semantics.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/semantics.h b/semantics.h
index 11e4e54..46f9a41 100644
--- a/semantics.h
+++ b/semantics.h
@@ -82,9 +82,19 @@ int ctable_insert(CTable_t ct, const char *key, void *val, int lvl);
void ctable_clip(CTable_t ct, const char *key, int max_lvl);
void ctable_debug_print(CTable_t ct);
+typedef struct CSVar {
+ struct CVar *var;
+ struct CSVar *next;
+} CSVar;
+
+typedef struct CSType {
+ struct CType *type;
+ struct CSType *next;
+} CSType;
+
typedef struct CSNode {
- struct CVar *vhead;
- struct CType *thead;
+ struct CSVar *vhead;
+ struct CSType *thead;
struct CSNode *next;
} CSNode;