Skip to content

Commit

Permalink
Add Metaprogramming manual reference to macro docstring (JuliaLang#…
Browse files Browse the repository at this point in the history
…46079)

Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
  • Loading branch information
2 people authored and Francesco Fucci committed Aug 11, 2022
1 parent 7886abd commit 378ef9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ Every macro also implicitly gets passed the arguments `__source__`, which contai
and file name the macro is called from, and `__module__`, which is the module the macro is expanded
in.
See the manual section on [Metaprogramming](@ref) for more information about how to write a macro.
# Examples
```jldoctest
julia> macro sayhello(name)
Expand Down

0 comments on commit 378ef9c

Please sign in to comment.