mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
Merge branch 'master' of github.com:Araq/Nimrod
This commit is contained in:
@@ -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:
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user