summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/parser.nim1
-rw-r--r--todo.txt1
2 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index 1aaff3616..4a3377681 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -1408,6 +1408,7 @@ 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)
 
 type
diff --git a/todo.txt b/todo.txt
index a5b4fc211..8d9e8e5a8 100644
--- a/todo.txt
+++ b/todo.txt
@@ -17,7 +17,6 @@ version 0.9.2
 Bugs
 ====
 
-- new parser breaks docgen
 - docgen: sometimes effects are listed twice
 - 'result' is not properly cleaned for NRVO
 - instantiated generics are listed in error messages