mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Don't do a find_type on the parsed function.
This is needed for C style declarations, but breaks QuakeC style. The fix is to do the find_type once the return type has been filled in.
This commit is contained in:
parent
1452da676d
commit
7fb8c8247e
1 changed files with 6 additions and 1 deletions
|
@ -178,7 +178,12 @@ parse_params (type_t *type, param_t *parms)
|
|||
}
|
||||
}
|
||||
//print_type (&new); puts("");
|
||||
return find_type (&new);
|
||||
//return find_type (&new);
|
||||
{
|
||||
type_t *n = new_type ();
|
||||
*n = new;
|
||||
return n;
|
||||
}
|
||||
}
|
||||
|
||||
param_t *
|
||||
|
|
Loading…
Reference in a new issue