mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 02:31:28 +00:00
Fix evaluation order bug
This commit is contained in:
parent
5a013c5b89
commit
d750d17be5
2 changed files with 3 additions and 3 deletions
3
exec.c
3
exec.c
|
@ -475,7 +475,8 @@ static qcint prog_enterfunction(qc_program *prog, prog_section_function *func)
|
|||
st.function = func;
|
||||
|
||||
if (prog->xflags & VMXF_TRACE) {
|
||||
vec_push(prog->function_stack, prog_getstring(prog, func->name));
|
||||
const char *str = prog_getstring(prog, func->name);
|
||||
vec_push(prog->function_stack, str);
|
||||
}
|
||||
|
||||
#ifdef QCVM_BACKUP_STRATEGY_CALLER_VARS
|
||||
|
|
|
@ -63,8 +63,7 @@ FLAGS_MAYBE="\
|
|||
#these don't need to be here to onhibit the warning
|
||||
# remove one flag from here at a time while fixing the code so that
|
||||
FLAGS_TOFIX="\
|
||||
-castfcnptr \
|
||||
-evalorder"
|
||||
-castfcnptr"
|
||||
|
||||
|
||||
splint $FLAGS_STUPID $FLAGS_MAYBE $FLAGS_TOFIX $FLAGS_OTHERS *.c *.h
|
||||
|
|
Loading…
Reference in a new issue