nimpretty: fixes pragma rendering
This commit is contained in:
parent
798a8bd45c
commit
c70706f4bd
1 changed files with 1 additions and 1 deletions
|
|
@ -922,7 +922,7 @@ proc parsePragma(p: var TParser): PNode =
|
|||
optPar(p)
|
||||
if p.tok.tokType in {tkCurlyDotRi, tkCurlyRi}:
|
||||
when defined(nimpretty2):
|
||||
curlyRiWasPragma(p.em)
|
||||
if p.tok.tokType == tkCurlyRi: curlyRiWasPragma(p.em)
|
||||
getTok(p)
|
||||
else:
|
||||
parMessage(p, "expected '.}'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue