2
0
Эх сурвалжийг харах

* Use IncRefCount

git-svn-id: trunk@6143 -
pierre 18 жил өмнө
parent
commit
e3651191f5

+ 1 - 1
compiler/symtable.pas

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