parsing break, continue, return

This commit is contained in:
pommicket 2022-02-04 19:31:45 -05:00
parent d1167f03d0
commit dfce9118b9
6 changed files with 196 additions and 13 deletions

View file

@ -98,12 +98,6 @@ function get_keyword_str
; turn pptokens into tokens, written to out.
; tokens are 16 bytes and have the following format:
; uchar type
; uchar info
; ushort file
; uint line
; ulong data -- for int/float literals, the value; for string literals, the runtime address; for identifiers, the name of the identifier
; This corresponds to translation phases 5-6 and the first half of 7
; IMPORTANT: this function uses pointers to pptokens, so it should NOT be freed!
; Returns a pointer to the end of tokens.