diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-09-21 13:31:39 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-09-21 13:31:39 -0400 |
commit | 9932fac52c0cac2e9e0e11c84dfdf99e0a87ebfb (patch) | |
tree | ff97b9288293614fefc6f3ed972c3db69cba6f6e /sux.c | |
parent | eea04e3327972f052dcfb8ae0854b77f87d3d52f (diff) |
- Fixed some issues with how structs, and unions were
handled.
- Added a function called fix_symtree(), which when
called. will rearrange the symbol tree based on the
order they're declared in by the token stream.
The reason I wrote this, was to make sure the symbol
tree could be printed correctly.
- Optimized print_symtree() to now use tail recursion.
- Started adding all of the SuB Suite's structs.
Diffstat (limited to 'sux.c')
-rw-r--r-- | sux.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -138,6 +138,7 @@ static inline uint8_t isread(uint8_t opcode) { } } +#if bench void stop_timer() { time_done = 1; } @@ -159,6 +160,7 @@ void start_timer(int sec, int usec) { exit(1); } } +#endif void *run(void *args) { struct suxthr *thr = (void *)args; |