From f2b9af6ae15d903799d6abaf6c409bda8f829219 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 1 Sep 2013 18:50:03 +0200 Subject: [PATCH] bugfix: line information for comments --- compiler/parser.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/parser.nim b/compiler/parser.nim index 699a50c629..bbacde1bf5 100644 --- a/compiler/parser.nim +++ b/compiler/parser.nim @@ -1411,7 +1411,6 @@ proc parseRoutine(p: var TParser, kind: TNodeKind): PNode = proc newCommentStmt(p: var TParser): PNode = #| commentStmt = COMMENT result = newNodeP(nkCommentStmt, p) - result.info.line = result.info.line - int16(1) - int16(p.tok.iNumber) result.comment = p.tok.literal getTok(p)