peter 22 년 전
부모
커밋
2e4c0445fa
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 6 3
      compiler/nld.pas

+ 6 - 3
compiler/nld.pas

@@ -673,8 +673,8 @@ implementation
                  { just emit a warning, delphi gives an    }
                  { error, only if the type definition of   }
                  { of the string is less  < 255 characters }
-                 if (tstringconstnode(right).len
-                  > tstringdef(left.resulttype.def).len) then
+                 if not is_open_string(left.resulttype.def) and
+                    (tstringconstnode(right).len > tstringdef(left.resulttype.def).len) then
                     cgmessage(type_w_string_too_long);
                  inserttypeconv(right,left.resulttype);
                  if (tstringconstnode(right).len=0) then
@@ -1257,7 +1257,10 @@ begin
 end.
 {
   $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
     * remove fixed self register
     * esi added as address register for i386