diff options
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r-- | compiler/parser.nim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim index 01ec6fe95..be39a6bc1 100644 --- a/compiler/parser.nim +++ b/compiler/parser.nim @@ -164,8 +164,6 @@ proc validInd(p: var Parser): bool {.inline.} = proc rawSkipComment(p: var Parser, node: PNode) = if p.tok.tokType == tkComment: if node != nil: - when not defined(nimNoNilSeqs): - if node.comment == nil: node.comment = "" when defined(nimpretty): if p.tok.commentOffsetB > p.tok.commentOffsetA: node.comment.add fileSection(p.lex.config, p.lex.fileIdx, p.tok.commentOffsetA, p.tok.commentOffsetB) |