new parser works with docgen

This commit is contained in:
Araq 2013-05-02 02:17:03 +02:00
commit 8e5d6834cc
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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