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)
|
optPar(p)
|
||||||
if p.tok.tokType in {tkCurlyDotRi, tkCurlyRi}:
|
if p.tok.tokType in {tkCurlyDotRi, tkCurlyRi}:
|
||||||
when defined(nimpretty2):
|
when defined(nimpretty2):
|
||||||
curlyRiWasPragma(p.em)
|
if p.tok.tokType == tkCurlyRi: curlyRiWasPragma(p.em)
|
||||||
getTok(p)
|
getTok(p)
|
||||||
else:
|
else:
|
||||||
parMessage(p, "expected '.}'")
|
parMessage(p, "expected '.}'")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue