Fix spellings (#12277) [backport]
This commit is contained in:
parent
9dd297f613
commit
39290cf88c
110 changed files with 166 additions and 166 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
action: compile
|
||||
"""
|
||||
|
||||
# this test should ensure that the AST doesn't change slighly without it getting noticed.
|
||||
# this test should ensure that the AST doesn't change slightly without it getting noticed.
|
||||
|
||||
import ../ast_pattern_matching
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ template expectNimNode(arg: untyped): NimNode = arg
|
|||
## type `NimNode`.
|
||||
|
||||
proc substitudeComments(symbols, values, n: NimNode): NimNode =
|
||||
## substitudes all nodes of kind nnkCommentStmt to parameter
|
||||
## substitutes all nodes of kind nnkCommentStmt to parameter
|
||||
## symbols. Consumes the argument `n`.
|
||||
if n.kind == nnkCommentStmt:
|
||||
values.add newCall(bindSym"newCommentStmtNode", newLit(n.strVal))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue