소스 검색

+ 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;