Be sure to checkout the multibody macro: [https://github.com/nim-lang/Nim/pull/12567](https://github.com/nim-lang/Nim/pull/12567) macro myMacro(body1,body2: untyped): untyped {.multiBodyMacro.} = echo body1.lispRepr # (StmtList (Command (Ident "echo") (IntLit 1))) echo body2.lispRepr # (StmtList (Command (Ident "echo") (IntLit 2))) myMacro: body1: echo 1 body2: echo 2 Run
- Detect englobing scope in macros spip
- Re: Detect englobing scope in macros yglukhov
- Re: Detect englobing scope in macros spip
- Re: Detect englobing scope in macros leorize
- Re: Detect englobing scope in macros pietroppeter
- Re: Detect englobing scope in macros spip
- Re: Detect englobing scope in macro... spip
- Re: Detect englobing scope in m... b3liever
- Re: Detect englobing scope in m... Araq
- Re: Detect englobing scope in m... mratsim
- Re: Detect englobing scope in m... gemath
- Re: Detect englobing scope in m... spip
- Re: Detect englobing scope in m... Araq
