Sfoglia il codice sorgente

* Use IncRefCount

git-svn-id: trunk@6143 -
pierre 18 anni fa
parent
commit
e3651191f5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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