Browse Source

compiler: cleanup

git-svn-id: trunk@19208 -
paul 14 năm trước cách đây
mục cha
commit
00396da30c
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      compiler/defcmp.pas

+ 1 - 4
compiler/defcmp.pas

@@ -378,10 +378,7 @@ implementation
                           (tstringdef(def_from).len=tstringdef(def_to).len)) and
                          { for ansi- and unicodestrings also the encoding must match }
                          (not(tstringdef(def_from).stringtype in [st_ansistring,st_unicodestring]) or
-                          (tstringdef(def_from).encoding=tstringdef(def_to).encoding) //or
-                          { RawByteString is compatible with everything }
-                          {(tstringdef(def_from).encoding=65535) or
-                          (tstringdef(def_to).encoding=65535)}) then
+                          (tstringdef(def_from).encoding=tstringdef(def_to).encoding)) then
                         eq:=te_equal
                      else
                        begin