Fix: forgot to initialize malloced mem
This commit is contained in:
parent
2b54fa3a19
commit
11f3094b51
1 changed files with 1 additions and 0 deletions
|
@ -537,6 +537,7 @@ param_list(p_type t;)
|
||||||
| 'v' { p->par_kind = 'v'; }
|
| 'v' { p->par_kind = 'v'; }
|
||||||
| 'i' { p->par_kind = 'i'; }
|
| 'i' { p->par_kind = 'i'; }
|
||||||
]
|
]
|
||||||
|
{ p->par_type = 0; }
|
||||||
type(&(p->par_type), (int *) 0, (p_symbol) 0) ';'
|
type(&(p->par_type), (int *) 0, (p_symbol) 0) ';'
|
||||||
{ p->par_off = t->ty_nbparams;
|
{ p->par_off = t->ty_nbparams;
|
||||||
t->ty_nbparams +=
|
t->ty_nbparams +=
|
||||||
|
|
Loading…
Reference in a new issue