# Calling a macro inside of a macro

**URL:** https://discourse.julialang.org/t/calling-a-macro-inside-of-a-macro/95729
**Category:** General Usage
**Tags:** metaprogramming
**Created:** [March 8, 2023, 11:29am UTC](https://discourse.julialang.org/t/calling-a-macro-inside-of-a-macro/95729 "2023-03-08T11:29:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 8, 2023, 11:35am UTC](https://discourse.julialang.org/t/calling-a-macro-inside-of-a-macro/95729/2 "2023-03-08T11:35:53Z")

</div>

See [Module/file/line for log message generated by a macro](https://discourse.julialang.org/t/module-file-line-for-log-message-generated-by-a-macro/63835) and [Use @\_\_LINE\_\_ etc in another macro definition](https://discourse.julialang.org/t/use-line-etc-in-another-macro-definition/41077) (although that is not specifically about “calling macro from another macro”, but it does solve your problem).

---

_[View the full topic](https://discourse.julialang.org/t/calling-a-macro-inside-of-a-macro/95729)._
