fix a bug where every 2nd(?) arg was being skipped when setting up a function

call
This commit is contained in:
Bill Currie 2001-08-10 21:31:48 +00:00
parent 11381ce593
commit a8e858f77d

View file

@ -104,8 +104,7 @@ emit_function_call (expr_t *e, def_t *dest)
}
}
ind = count;
for (; ind > 0; ind--) {
ind--;
while (ind-- > 0) {
arg = args[ind];
parm = def_parms[ind];
parm.type = arg->type;