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
{{ message }}
Repository navigation
False-Positive Error "A jump to offset 0 found" #395
DEFINE MISSIONS 2
DEFINE MISSION {ID} 0 AT {LABEL} @Mission1
DEFINE MISSION {ID} 1 AT {LABEL} @Mission2
DEFINE EXTERNAL_SCRIPTS -1 // Use -1 to not build script.img, or 0 to build script.img with a dummy script
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
:Mission1
if 0@ == 0
then
terminate_this_script
// <------------ hidden jump here, which matches :Mission2 location
// compiler converts it to 0, but should calculated relative to :Mission1 instead
end
// terminate_this_script // <------- uncomment `terminate_this_script` to fix the error
:Mission2
terminate_this_script
Activity