Create the .parN variables for varargs functions.

Ouch, 2 years and this is the first test?
This commit is contained in:
Bill Currie 2012-11-20 17:14:58 +09:00
parent 984aa9a4cf
commit a734feacfd

View file

@ -472,7 +472,7 @@ build_scope (symbol_t *fsym, symtab_t *parent)
if (args) {
while (i < MAX_PARMS) {
param = new_symbol_type (va (".par%d", i), &type_param);
symtab_addsymbol (symtab, param);
initialize_def (param, &type_param, 0, symtab->space, st_local);
i++;
}
}