compiler prepared for the new comment handling

This commit is contained in:
Araq 2014-04-30 00:53:44 +02:00
commit bd705a517f
8 changed files with 17 additions and 4 deletions

View file

@ -385,6 +385,7 @@ proc semIdentWithPragma(c: PContext, kind: TSymKind, n: PNode,
case kind
of skType:
# process pragmas later, because result.typ has not been set yet
discard
of skField: pragma(c, result, n.sons[1], fieldPragmas)
of skVar: pragma(c, result, n.sons[1], varPragmas)
of skLet: pragma(c, result, n.sons[1], letPragmas)