Browse Source

* Use IncRefCount

git-svn-id: trunk@6143 -
pierre 18 years ago
parent
commit
e3651191f5
1 changed files with 1 additions and 1 deletions
  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