mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 11:02:37 +02:00
* fixed regression caused by r7180
git-svn-id: trunk@7555 -
This commit is contained in:
parent
f32621610f
commit
36471608c1
@ -1096,7 +1096,9 @@ implementation
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
if pd.returndef.typ=filedef then
|
||||
{ file types can't be function results }
|
||||
if assigned(pd) and
|
||||
(pd.returndef.typ=filedef) then
|
||||
message(parser_e_illegal_function_result);
|
||||
{ support procedure proc stdcall export; }
|
||||
if not(check_proc_directive(false)) then
|
||||
|
Loading…
Reference in New Issue
Block a user