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
|
#| commentStmt = COMMENT
|
||||||
result = newNodeP(nkCommentStmt, p)
|
result = newNodeP(nkCommentStmt, p)
|
||||||
result.info.line = result.info.line - int16(1) - int16(p.tok.iNumber)
|
result.info.line = result.info.line - int16(1) - int16(p.tok.iNumber)
|
||||||
|
result.comment = p.tok.literal
|
||||||
getTok(p)
|
getTok(p)
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
||||||
1
todo.txt
1
todo.txt
|
|
@ -17,7 +17,6 @@ version 0.9.2
|
||||||
Bugs
|
Bugs
|
||||||
====
|
====
|
||||||
|
|
||||||
- new parser breaks docgen
|
|
||||||
- docgen: sometimes effects are listed twice
|
- docgen: sometimes effects are listed twice
|
||||||
- 'result' is not properly cleaned for NRVO
|
- 'result' is not properly cleaned for NRVO
|
||||||
- instantiated generics are listed in error messages
|
- instantiated generics are listed in error messages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue