aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
Diffstat (limited to 'semantics.h')
-rw-r--r--semantics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/semantics.h b/semantics.h
index b77cf2e..a7712b6 100644
--- a/semantics.h
+++ b/semantics.h
@@ -33,7 +33,7 @@ struct CSList {
char *str;
int id;
int start;
- CSList_t next;
+ CSList_t prev, next;
};
typedef struct CBList *CBList_t;
@@ -203,6 +203,7 @@ void def_exit(void);
int calc_size(CType_t type);
int align_shift(int x);
+extern int scnt;
extern CTList_t funcs;
extern CVList_t gvars;
extern CSList_t cstrs;