Преглед на файлове

+ add a comment to the destructor of tsymtable so that others (and maybe me a well) will hopefully see that the destructor of that class is not completely trivial!

git-svn-id: trunk@39694 -
svenbarth преди 7 години
родител
ревизия
70ae0a2dc9
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      compiler/symbase.pas

+ 1 - 0
compiler/symbase.pas

@@ -104,6 +104,7 @@ interface
           sealed : boolean;
           symtabletype  : TSymtabletype;
           constructor Create(const s:string);
+          { attention: only execute the a child's destructor if refcount is 1! }
           destructor  destroy;override;
           procedure freeinstance;override;
           function  getcopy:TSymtable;