From 378ef9c0f30cd71a5d401123ea7ffc9ac5c64560 Mon Sep 17 00:00:00 2001 From: Sukera <11753998+Seelengrab@users.noreply.github.com> Date: Sun, 24 Jul 2022 20:28:15 +0200 Subject: [PATCH] Add Metaprogramming manual reference to `macro` docstring (#46079) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> --- base/docs/basedocs.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/docs/basedocs.jl b/base/docs/basedocs.jl index e9aec30e48990..99098f87a9196 100644 --- a/base/docs/basedocs.jl +++ b/base/docs/basedocs.jl @@ -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)