new parser works with docgen
This commit is contained in:
parent
cc591cf3c1
commit
8e5d6834cc
2 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue