Ver Fonte

* reverted r7675

git-svn-id: trunk@7702 -
florian há 18 anos atrás
pai
commit
72d49f3033
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      compiler/symtable.pas

+ 1 - 2
compiler/symtable.pas

@@ -1168,8 +1168,7 @@ implementation
         if not is_funcret_sym(sym) and
         if not is_funcret_sym(sym) and
            (defowner.typ=procdef) and
            (defowner.typ=procdef) and
            assigned(tprocdef(defowner)._class) and
            assigned(tprocdef(defowner)._class) and
-           (tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) and
-           not(m_duplicate_names in current_settings.modeswitches) then
+           (tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) then
           result:=tprocdef(defowner)._class.symtable.checkduplicate(hashedid,sym);
           result:=tprocdef(defowner)._class.symtable.checkduplicate(hashedid,sym);
       end;
       end;