aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-18 15:55:44 +0100
committerBjörn Gustavsson <[email protected]>2016-02-18 15:55:44 +0100
commit517a4b9fb9bc62f6d172d13113526835f37cc396 (patch)
tree359ceaa8ff421de4dc2896e659b1f5161efb67ab /system
parent24f0d567ceffb0f1555bc3032b7801ba377e5a3b (diff)
parent1604b874828e8ef992c8e17e06e7af20a0f1574b (diff)
downloadotp-517a4b9fb9bc62f6d172d13113526835f37cc396.tar.gz
otp-517a4b9fb9bc62f6d172d13113526835f37cc396.tar.bz2
otp-517a4b9fb9bc62f6d172d13113526835f37cc396.zip
Merge branch 'bjorn/stdlib/function-macro/OTP-13059'
* bjorn/stdlib/function-macro/OTP-13059: Implement ?FUNCTION_NAME and ?FUNCTION_ARITY macros epp: Refactor expand_macros()
Diffstat (limited to 'system')
-rw-r--r--system/doc/reference_manual/macros.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/doc/reference_manual/macros.xml b/system/doc/reference_manual/macros.xml
index 3b1f72e5d6..42ea639b54 100644
--- a/system/doc/reference_manual/macros.xml
+++ b/system/doc/reference_manual/macros.xml
@@ -146,6 +146,10 @@ bar(X) ->
<item>The current line number.</item>
<tag><c>?MACHINE</c>.</tag>
<item>The machine name, <c>'BEAM'</c>.</item>
+ <tag><c>?FUNCTION_NAME</c></tag>
+ <item>The name of the current function.</item>
+ <tag><c>?FUNCTION_ARITY</c></tag>
+ <item>The arity (number of arguments) for the current function.</item>
</taglist>
</section>