You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;--- v2.18: problem if the name of struct member matches the name
;--- of a stack variable ( or a procedure ):
;--- if the structured variable isn't defined, the stack variable
;--- becomes "unknown". Worse, if a listing is to be produced, an
;--- infinite loop may be entered.
.386
.MODEL flat
option casemap:none
DDS struct
dwSize dd ?
dwOfs dd ?
DDS ends
.data
;dds DDS <0,0> ;<--- problem: the variable isn't defined
.code
P1 proc
local dwFirst:dword
local dwSize:dword
local dwThird:dword
This works as long as dds is defined now in 2.57.
There is still a possible crash/error if dds isn't declared which I've not got an immediate solution for.
;--- v2.18: problem if the name of struct member matches the name
;--- of a stack variable ( or a procedure ):
;--- if the structured variable isn't defined, the stack variable
;--- becomes "unknown". Worse, if a listing is to be produced, an
;--- infinite loop may be entered.
DDS struct
dwSize dd ?
dwOfs dd ?
DDS ends
;dds DDS <0,0> ;<--- problem: the variable isn't defined
P1 proc
local dwFirst:dword
local dwSize:dword
local dwThird:dword
P1 endp
start:
call P1
ret
The text was updated successfully, but these errors were encountered: