diff options
author | Björn Gustavsson <[email protected]> | 2016-02-18 15:55:44 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-02-18 15:55:44 +0100 |
commit | 517a4b9fb9bc62f6d172d13113526835f37cc396 (patch) | |
tree | 359ceaa8ff421de4dc2896e659b1f5161efb67ab /system/doc/reference_manual/macros.xml | |
parent | 24f0d567ceffb0f1555bc3032b7801ba377e5a3b (diff) | |
parent | 1604b874828e8ef992c8e17e06e7af20a0f1574b (diff) | |
download | otp-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/doc/reference_manual/macros.xml')
-rw-r--r-- | system/doc/reference_manual/macros.xml | 4 |
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> |