Merge branch 'master' of github.com:Araq/Nimrod
This commit is contained in:
commit
f5eddcf9b6
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ proc getAst*(macroOrTemplate: expr): expr {.magic: "ExpandToAst".}
|
|||
## var ast = getAst(BarTemplate())
|
||||
|
||||
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
|
||||
## Example:
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue