mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-31 18:02:31 +02:00
* better error recovery
git-svn-id: trunk@34923 -
This commit is contained in:
parent
e218f4f33b
commit
2b6ccb3565
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user