diff options
Diffstat (limited to 'programs/sub-suite/declare.s')
-rw-r--r-- | programs/sub-suite/declare.s | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/programs/sub-suite/declare.s b/programs/sub-suite/declare.s index cd97b60..183d09d 100644 --- a/programs/sub-suite/declare.s +++ b/programs/sub-suite/declare.s @@ -51,8 +51,12 @@ val .qword ; Value of symbol. - strct .byte ; Flag that says this symbol is a struct, or union. - def .byte ; Flag that says this symbol has been defined. + .union + strct .byte ; Bit 0: Struct/Union flag. + anon .byte ; Bit 1: Anonymous struct/union flag. + def .byte ; Bit 2: Defined symbol flag. + flags .byte ; Flags. + .endunion name .qword ; Name of symbol. id .word ; ID of symbol. @@ -301,19 +305,19 @@ t_sym: ; Current token. ctok: - .res 2 + .res 8 ; Last token. ltok: - .res 2 + .res 8 ; Current line. cline: - .res 2 + .res 8 ; Last line. lline: - .res 2 + .res 8 ; Lexeme type. lex_type: |