structs mostly working

This commit is contained in:
pommicket 2022-01-27 10:57:18 -05:00
parent d036dcc5ac
commit 539f23eaec
4 changed files with 84 additions and 37 deletions

View file

@ -134,7 +134,8 @@
; - for unary operators, the operand
; - for casts, the operand (type is given by type member)
; - for binary operators, the first operand followed by the second
; - for the operators . and ->, the first argument is a 64-bit pointer to the name of the member and the second is the left hand side of the . / ->
; - for the operators . and ->, the first argument is the expression on the left-hand side, and the second argument is a 64-bit offset.
; we could use a 32-bit offset but that would cause things to be unaligned.
; - for the ternary operator ? :, the first followed by the second followed by the third
; - for function calls, the function, followed by each of the arguments to the function — info indicates the number of arguments
; Note that file/line number are not stored in expressions.
@ -685,3 +686,6 @@
:str_union
string union
byte 0
:str_typedef ; currently only used for nice debug output
string typedef
byte 0