From 9932fac52c0cac2e9e0e11c84dfdf99e0a87ebfb Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 21 Sep 2020 13:31:39 -0400 Subject: - 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. --- programs/sub-suite/subasm.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'programs/sub-suite/subasm.s') diff --git a/programs/sub-suite/subasm.s b/programs/sub-suite/subasm.s index ec58a40..3957caa 100644 --- a/programs/sub-suite/subasm.s +++ b/programs/sub-suite/subasm.s @@ -161,10 +161,10 @@ help: nop ; @end: rts ; End of help. -inst: +ins: nop ; @end: - rts ; End of inst. + rts ; End of ins. run: nop ; @end: -- cgit v1.2.3-13-gbd6f