mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Delay storage setting for pascal functions.
The function def must not be local. This fixes the null function call in gcd.pas.
This commit is contained in:
parent
27b83a8d65
commit
72045f1a5b
1 changed files with 1 additions and 1 deletions
|
@ -235,9 +235,9 @@ subprogram_declaration
|
|||
: subprogram_head ';'
|
||||
{
|
||||
$<storage>$ = current_storage;
|
||||
current_storage = st_local;
|
||||
current_func = begin_function ($1, 0, current_symtab, 0);
|
||||
current_symtab = current_func->symtab;
|
||||
current_storage = st_local;
|
||||
}
|
||||
declarations compound_statement ';'
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue