fix declaring multiple variables after struct definition

This commit is contained in:
pommicket 2022-02-08 21:53:14 -05:00
parent 0a2d05bdd5
commit d7a9a565a9
5 changed files with 31 additions and 23 deletions

View file

@ -95,7 +95,11 @@ function get_keyword_str
:str_no_such_keyword_id
string @BAD_KEYWORD_ID
byte 0
; returns a unique number associated with the line `token` appears on.
function token_get_location
argument token
return *8token > 16 ; right shift by 16 to remove type,info, and extract 6 bytes of file,line
; turn pptokens into tokens, written to out.
; This corresponds to translation phases 5-6 and the first half of 7