mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Set the default storage class for local vars.
This commit is contained in:
parent
bc7d42d176
commit
2cce903cc9
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ subprogram_declaration
|
|||
: subprogram_head ';'
|
||||
{
|
||||
$<storage>$ = current_storage;
|
||||
current_storage = st_local;
|
||||
current_func = begin_function ($1, 0, current_symtab);
|
||||
current_symtab = current_func->symtab;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue