mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 14:39:24 +02:00
* fix bug #2438
This commit is contained in:
parent
c49bd10499
commit
2e4c0445fa
@ -673,8 +673,8 @@ implementation
|
|||||||
{ just emit a warning, delphi gives an }
|
{ just emit a warning, delphi gives an }
|
||||||
{ error, only if the type definition of }
|
{ error, only if the type definition of }
|
||||||
{ of the string is less < 255 characters }
|
{ of the string is less < 255 characters }
|
||||||
if (tstringconstnode(right).len
|
if not is_open_string(left.resulttype.def) and
|
||||||
> tstringdef(left.resulttype.def).len) then
|
(tstringconstnode(right).len > tstringdef(left.resulttype.def).len) then
|
||||||
cgmessage(type_w_string_too_long);
|
cgmessage(type_w_string_too_long);
|
||||||
inserttypeconv(right,left.resulttype);
|
inserttypeconv(right,left.resulttype);
|
||||||
if (tstringconstnode(right).len=0) then
|
if (tstringconstnode(right).len=0) then
|
||||||
@ -1257,7 +1257,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.82 2003-03-28 19:16:56 peter
|
Revision 1.83 2003-04-11 15:01:23 peter
|
||||||
|
* fix bug 2438
|
||||||
|
|
||||||
|
Revision 1.82 2003/03/28 19:16:56 peter
|
||||||
* generic constructor working for i386
|
* generic constructor working for i386
|
||||||
* remove fixed self register
|
* remove fixed self register
|
||||||
* esi added as address register for i386
|
* esi added as address register for i386
|
||||||
|
Loading…
Reference in New Issue
Block a user