mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
make initialized local variables work /properly/
local float urk = 0; STORE_F 46(IMMEDIATE) 0.0 55(?)
This commit is contained in:
parent
22e4ce887f
commit
0186732130
1 changed files with 7 additions and 1 deletions
|
@ -602,7 +602,13 @@ PR_ParseDefs (void)
|
|||
PR_ParseError ("wrong immediate type for %s", name);
|
||||
}
|
||||
|
||||
def = PR_ParseImmediate (def);
|
||||
if (pr_scope) {
|
||||
def_t *imm = PR_ParseImmediate (0);
|
||||
opcode_t *op = PR_Opcode_Find ("=", 5, imm, imm, def);
|
||||
PR_Statement (op, imm, def);
|
||||
} else {
|
||||
def = PR_ParseImmediate (def);
|
||||
}
|
||||
}
|
||||
|
||||
} while (PR_Check (tt_punct, ","));
|
||||
|
|
Loading…
Reference in a new issue