allow tabs in multi-line comments

This commit is contained in:
Araq 2016-05-04 01:32:03 +02:00
commit 724cd631d8

View file

@ -811,10 +811,6 @@ proc skipMultiLineComment(L: var TLexer; tok: var TToken; start: int;
break break
dec nesting dec nesting
inc pos inc pos
of '\t':
lexMessagePos(L, errTabulatorsAreNotAllowed, pos)
inc(pos)
if isDoc: tok.literal.add '\t'
of CR, LF: of CR, LF:
pos = handleCRLF(L, pos) pos = handleCRLF(L, pos)
buf = L.buf buf = L.buf