From 724cd631d8eb4688410c558fc5e2f105a0906d94 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 4 May 2016 01:32:03 +0200 Subject: [PATCH] allow tabs in multi-line comments --- compiler/lexer.nim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/lexer.nim b/compiler/lexer.nim index 0032b97df9..0a4c01ba84 100644 --- a/compiler/lexer.nim +++ b/compiler/lexer.nim @@ -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