improvements for destructors

This commit is contained in:
Araq 2013-04-08 00:10:34 +02:00
commit bb3f648bd2
6 changed files with 91 additions and 35 deletions

View file

@ -41,7 +41,8 @@ type
inst*: PInstantiation
TExprFlag* = enum
efLValue, efWantIterator, efInTypeof, efWantStmt, efDetermineType
efLValue, efWantIterator, efInTypeof, efWantStmt, efDetermineType,
efAllowDestructor
TExprFlags* = set[TExprFlag]
PContext* = ref TContext