* fixed regression caused by r7180

git-svn-id: trunk@7555 -
This commit is contained in:
florian 2007-06-02 20:35:17 +00:00
parent f32621610f
commit 36471608c1

View File

@ -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