Allow 'extern' storage-class specifier in function definitions.
Per the C standards, this is allowed and is equivalent to not specifying a storage-class specifier.
This commit is contained in:
parent
88279484af
commit
b8c1ea753f
|
@ -3291,8 +3291,7 @@ if isFunction then begin
|
|||
PopTable
|
||||
|
||||
{external or forward declaration}
|
||||
else if (storageClass = externsy)
|
||||
or (token.kind in [commach,semicolonch,inlinesy]) then begin
|
||||
else if token.kind in [commach,semicolonch,inlinesy] then begin
|
||||
fnType^.isPascal := isPascal; {note if we have pascal parms}
|
||||
if token.kind = inlinesy then {handle tool declarations}
|
||||
with fnType^ do begin
|
||||
|
|
Loading…
Reference in New Issue