diff options
author | Araq <rumpf_a@web.de> | 2015-03-12 00:26:09 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-03-12 01:45:13 +0100 |
commit | 970e98718dfe0c494369bcb42b12d8cf7ace3f7c (patch) | |
tree | 9584f49769ae2396fbeb7f403b37cfb02afb5521 | |
parent | 1a98de87122dafd483dcc402f528633f63bf4508 (diff) | |
download | Nim-970e98718dfe0c494369bcb42b12d8cf7ace3f7c.tar.gz |
code cleanup
-rw-r--r-- | compiler/ast.nim | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index 99fd13e9b..ab315877a 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -807,45 +807,45 @@ type lockLevel*: TLockLevel # lock level as required for deadlock checking loc*: TLoc - TPair*{.final.} = object + TPair* = object key*, val*: RootRef TPairSeq* = seq[TPair] - TTable*{.final.} = object # the same as table[PObject] of PObject + TTable* = object # the same as table[PObject] of PObject counter*: int data*: TPairSeq - TIdPair*{.final.} = object + TIdPair* = object key*: PIdObj val*: RootRef TIdPairSeq* = seq[TIdPair] - TIdTable*{.final.} = object # the same as table[PIdent] of PObject + TIdTable* = object # the same as table[PIdent] of PObject counter*: int data*: TIdPairSeq - TIdNodePair*{.final.} = object + TIdNodePair* = object key*: PIdObj val*: PNode TIdNodePairSeq* = seq[TIdNodePair] - TIdNodeTable*{.final.} = object # the same as table[PIdObj] of PNode + TIdNodeTable* = object # the same as table[PIdObj] of PNode counter*: int data*: TIdNodePairSeq - TNodePair*{.final.} = object + TNodePair* = object h*: THash # because it is expensive to compute! key*: PNode val*: int TNodePairSeq* = seq[TNodePair] - TNodeTable*{.final.} = object # the same as table[PNode] of int; + TNodeTable* = object # the same as table[PNode] of int; # nodes are compared by structure! counter*: int data*: TNodePairSeq TObjectSeq* = seq[RootRef] - TObjectSet*{.final.} = object + TObjectSet* = object counter*: int data*: TObjectSeq |