Explorar el Código

* always add a generic dummy if it is a procsym

git-svn-id: trunk@47996 -
svenbarth hace 4 años
padre
commit
9179f9d43b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      compiler/pgenutil.pas

+ 1 - 2
compiler/pgenutil.pas

@@ -1790,8 +1790,7 @@ uses
                 if not searchsym_with_flags(sym.name,srsym,srsymtable,[ssf_no_addsymref]) then
                   srsym:=nil;
               end
-            else if (sym.typ=procsym) and
-                (tprocsym(sym).procdeflist.count>0) then
+            else if sym.typ=procsym then
               srsym:=sym
             else
               { dummy symbol is already not so dummy anymore }