compiler prepared for the new comment handling
This commit is contained in:
parent
d438ecc246
commit
bd705a517f
8 changed files with 17 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue