nimpretty: fixes #9500

This commit is contained in:
Araq 2018-10-25 11:48:06 +02:00
commit 87d60b2a4b
3 changed files with 47 additions and 0 deletions

View file

@ -1144,6 +1144,7 @@ proc skip(L: var TLexer, tok: var TToken) =
hasComment = true
if tok.line < 0:
tok.line = L.lineNumber
commentIndent = indent
skipMultiLineComment(L, tok, pos+2, false)
pos = L.bufpos
buf = L.buf