allow tabs in multi-line comments
This commit is contained in:
parent
2024e1335f
commit
724cd631d8
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue