Browse Source

+ 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 years ago
parent
commit
70ae0a2dc9
1 changed files with 1 additions and 0 deletions
  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;