Fixed misspelling in lib/core/macros.nim
This commit is contained in:
parent
d72b00cf15
commit
2c1f90fc93
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ proc getAst*(macroOrTemplate: expr): expr {.magic: "ExpandToAst".}
|
||||||
## var ast = getAst(BarTemplate())
|
## var ast = getAst(BarTemplate())
|
||||||
|
|
||||||
template emit*(s: expr): stmt =
|
template emit*(s: expr): stmt =
|
||||||
## accepts a single sting argument and treats it as nimrod code
|
## accepts a single string argument and treats it as nimrod code
|
||||||
## that should be inserted verbatim in the program
|
## that should be inserted verbatim in the program
|
||||||
## Example:
|
## Example:
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue