mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 11:38:29 +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;
|
d:=1.0;
|
||||||
end;
|
end;
|
||||||
if current_settings.fputype=fpu_none then
|
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
|
if (current_settings.minfpconstprec=s32real) and
|
||||||
(d = single(d)) then
|
(d = single(d)) then
|
||||||
result:=crealconstnode.create(d,s32floattype)
|
result:=crealconstnode.create(d,s32floattype)
|
||||||
|
Loading…
Reference in New Issue
Block a user