Copy the spec bits and storage class for QC functions.

This commit is contained in:
Bill Currie 2011-02-04 15:25:21 +09:00
parent f721144ca5
commit d0ecbb38b8

View file

@ -309,6 +309,7 @@ external_def
| optional_specifiers ';' { }
| optional_specifiers function_params
{
$<spec>$ = $1; // copy spec bits and storage
$<spec>$.type = parse_params ($1.type, $2), st_global, 0;
$<spec>$.type = find_type ($<spec>$.type);
}