parser support anon iterators
This commit is contained in:
parent
d18f40b4e2
commit
4a0aadef4d
8 changed files with 61 additions and 13 deletions
7
tests/macros/tmemit.nim
Normal file
7
tests/macros/tmemit.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
out: '''HELLO WORLD'''
|
||||
"""
|
||||
|
||||
import macros, strutils
|
||||
|
||||
emit("echo " & '"' & "hello world".toUpper & '"')
|
||||
Loading…
Add table
Add a link
Reference in a new issue