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

* fixed crashing bug in unit reference counting

Jonas Maebe 24 жил өмнө
parent
commit
9a5955d79f
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      compiler/symtable.pas

+ 5 - 1
compiler/symtable.pas

@@ -616,6 +616,7 @@ implementation
               ((aktprocsym.definition.options and postaticmethod)<>0)} then
                   Message(sym_e_only_static_in_static);
            if (unitid<>0) and
+              (symtabletype = globalsymtable) and
               assigned(tglobalsymtable(self).unitsym) then
              inc(tglobalsymtable(self).unitsym.refs);
 
@@ -2103,7 +2104,10 @@ implementation
 end.
 {
   $Log$
-  Revision 1.46  2001-09-30 21:29:47  peter
+  Revision 1.47  2001-10-12 20:27:43  jonas
+    * fixed crashing bug in unit reference counting
+
+  Revision 1.46  2001/09/30 21:29:47  peter
     * gdb fixes merged
 
   Revision 1.45  2001/09/19 11:06:03  michael