Fail to resolve nested structures in invoke in some cases
Brought to you by:
japheth
~~~~~
:::asm
Level3 struct
Member3 dd ?
Level3 ends
Level2 struct
Member2 Level3 <?>
Level2 ends
Level1 struct
Member1 Level2 5 dup(<>)
Level1 ends
mov es:[(Level2 ptr (Level1 ptr [edi]).Member1).Member2 + edx], 0
xor eax, eax
invoke AllocateMemory, es:[(Level3 ptr (Level2 ptr (Level1 ptr [edi]).Member1).Member2).Member3]
~~~~
jwasm returns error A2102: symbol not defined: 'Member1' for the last line with 'invoke'
Attaching working test.
Error is jwasm-bug.asm(19) : Error A2102: Symbol not defined : Member1