* better error recovery

git-svn-id: trunk@34923 -
This commit is contained in:
florian 2016-11-19 22:00:00 +00:00
parent e218f4f33b
commit 2b6ccb3565

View File

@ -1689,7 +1689,11 @@ implementation
d:=1.0;
end;
if current_settings.fputype=fpu_none then
Message(parser_e_unsupported_real);
begin
Message(parser_e_unsupported_real);
result:=cerrornode.create;
exit;
end;
if (current_settings.minfpconstprec=s32real) and
(d = single(d)) then
result:=crealconstnode.create(d,s32floattype)