mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-18 23:11:36 +00:00
new parser works with docgen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user