Skip to content

Commit

Permalink
allow tabs in multi-line comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed May 10, 2016
1 parent 2024e13 commit 724cd63
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compiler/lexer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 724cd63

Please sign in to comment.