Explorar o código

* Use IncRefCount

git-svn-id: trunk@6143 -
pierre %!s(int64=18) %!d(string=hai) anos
pai
achega
e3651191f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/symtable.pas

+ 1 - 1
compiler/symtable.pas

@@ -1452,7 +1452,7 @@ implementation
      procedure addsymref(sym:tsym);
        begin
          { symbol uses count }
-         inc(sym.refs);
+         sym.IncRefCount;
          { unit uses count }
          if assigned(current_module) and
             (sym.owner.symtabletype=globalsymtable) then