Quellcode durchsuchen

* fixed compile

git-svn-id: branches/fixes_2_0@1525 -
peter vor 20 Jahren
Ursprung
Commit
8ba6c255b9
1 geänderte Dateien mit 0 neuen und 11 gelöschten Zeilen
  1. 0 11
      compiler/nmem.pas

+ 0 - 11
compiler/nmem.pas

@@ -641,17 +641,6 @@ implementation
          resulttypepass(left);
          resulttypepass(right);
 
-         { implicitly convert stringconstant to stringdef,
-           see tbs/tb0476.pp for a test }
-         if (left.nodetype=stringconstn) and
-            (tstringconstnode(left).st_type=st_conststring) then
-           begin
-             if tstringconstnode(left).len>255 then
-               inserttypeconv(left,cansistringtype)
-             else
-               inserttypeconv(left,cshortstringtype);
-           end;
-
          { In p[1] p is always valid, it is not possible to
            declared a shortstring or normal array that has
            undefined number of elements. Dynamic array and