mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
- copy the Unsafe flag to the actual function. This must have gotten lost during the merge between my own code and Leonard2's fix.
Now even in DECORATE it is possible to report most cases in which user variables are accessed from non-item states as an error. This will report all states which can be traced by a direct link from a special state label. It will not find states that only get used via A_Jump etc.
This commit is contained in:
parent
a2f4cd7cda
commit
1e6a632774
1 changed files with 1 additions and 0 deletions
|
@ -762,6 +762,7 @@ void FFunctionBuildList::Build()
|
|||
codesize += sfunc->CodeSize;
|
||||
}
|
||||
sfunc->PrintableName = item.PrintableName;
|
||||
sfunc->Unsafe = ctx.Unsafe;
|
||||
}
|
||||
delete item.Code;
|
||||
if (dump != nullptr)
|
||||
|
|
Loading…
Reference in a new issue