nimpretty: nicer debugging [ci skip]
This commit is contained in:
parent
96a19ea1b4
commit
2c0c0e772c
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ proc closeEmitter*(em: var Emitter) =
|
||||||
var i = 0
|
var i = 0
|
||||||
while i <= em.tokens.high:
|
while i <= em.tokens.high:
|
||||||
when defined(debug):
|
when defined(debug):
|
||||||
echo "i-th token ", em.kinds[i], " ", em.tokens[i]
|
echo (token: em.tokens[i], kind: em.kinds[i])
|
||||||
case em.kinds[i]
|
case em.kinds[i]
|
||||||
of ltBeginSection:
|
of ltBeginSection:
|
||||||
maxLhs = computeMax(em, lineBegin)
|
maxLhs = computeMax(em, lineBegin)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue