aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-06 19:51:28 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-06 19:51:28 +0800
commita366436782315f0bffb6b8642396d32a4bc90a2c (patch)
tree169b80539da5223bda27f63f785deb778e229911 /semantics.h
parent3888c5a2a7c1d026cd2698d64a5a07ce4797219c (diff)
even more printf opt
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;