flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Bug in struct macro |
Author |
|
revolution 28 Dec 2007, 05:20
It is documented, you cannot have structs in anonymous unions.
|
|||
28 Dec 2007, 05:20 |
|
LocoDelAssembly 28 Dec 2007, 05:29
http://flatassembler.net/docs.php?article=win32 <- Where it says that?
Also note that the documentation has a more complex example: Code: struct LINE union start POINT struct x1 dd ? y1 dd ? ends ends union end POINT struct x2 dd ? y2 dd ? ends ends ends |
|||
28 Dec 2007, 05:29 |
|
bitRAKE 28 Dec 2007, 05:45
replace union with struct and the same error results.
|
|||
28 Dec 2007, 05:45 |
|
LocoDelAssembly 28 Dec 2007, 05:50
Seems that nesting is not properly supported for offsets constants (struct_name.field), however works correctly when you define a variable and access the fields throught variable name (var_name.field).
|
|||
28 Dec 2007, 05:50 |
|
Tomasz Grysztar 01 Mar 2009, 18:06
I've got it fixed (hopefully) with today's update.
|
|||
01 Mar 2009, 18:06 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.