the documentation generator now supports ':test:' for the testing of test snippets
This commit is contained in:
parent
21ffb3a706
commit
5d2e86ea1a
7 changed files with 60 additions and 34 deletions
|
|
@ -693,7 +693,7 @@ proc transformCall(c: PTransf, n: PNode): PTransNode =
|
|||
inc(j)
|
||||
add(result, a.PTransNode)
|
||||
if len(result) == 2: result = result[1]
|
||||
elif magic in {mNBindSym, mTypeOf}:
|
||||
elif magic in {mNBindSym, mTypeOf, mRunnableExamples}:
|
||||
# for bindSym(myconst) we MUST NOT perform constant folding:
|
||||
result = n.PTransNode
|
||||
elif magic == mProcCall:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue