Fixes initial random values for function arguments.
Thanks to Javor Kliachev for the bugreport.
This commit is contained in:
parent
1103b32e83
commit
4ee39ff2ff
1 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@ type:
|
|||
one_decl:
|
||||
type SYM {
|
||||
struct f_val * val = cfg_alloc(sizeof(struct f_val));
|
||||
val->type = $1;
|
||||
val->type = T_VOID;
|
||||
$2 = cf_define_symbol($2, SYM_VARIABLE | $1, val);
|
||||
DBG( "New variable %s type %x\n", $2->name, $1 );
|
||||
$2->aux2 = NULL;
|
||||
|
|
Loading…
Reference in a new issue