completing the "types as first class values" reform

This commit is contained in:
Zahary Karadjov 2012-04-06 18:14:12 +03:00
commit e941a14767
4 changed files with 50 additions and 40 deletions

View file

@ -21,7 +21,7 @@ proc semPass*(): TPass
type
TExprFlag = enum
efAllowType, efLValue, efWantIterator, efInTypeof
efLValue, efWantIterator, efInTypeof
TExprFlags = set[TExprFlag]
proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode