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