make initialized local variables work /properly/

local float urk = 0;
STORE_F    46(IMMEDIATE)  0.0   55(?)
This commit is contained in:
Bill Currie 2001-06-08 20:13:10 +00:00
parent 22e4ce887f
commit 0186732130

View file

@ -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, ","));