bindSym suffices; no 'bind' for macros anymore
This commit is contained in:
parent
8a92e95ccf
commit
9a7f0cd851
9 changed files with 48 additions and 73 deletions
|
|
@ -186,7 +186,7 @@ proc newIdentNode*(i: string): PNimrodNode {.compileTime.} =
|
|||
result = newNimNode(nnkIdent)
|
||||
result.ident = !i
|
||||
|
||||
proc bindSym*(ident: string): PNimrodNode {.magic: "NGetBoundSym".}
|
||||
proc bindSym*(ident: string): PNimrodNode {.magic: "NBindSym".}
|
||||
## creates a node that binds `ident` to a symbol node. The bound symbol
|
||||
## needs to be predeclared in a ``bind`` statement!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue