allow tabs in multi-line comments

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

View File

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