aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc
diff options
context:
space:
mode:
authorRicardo Catalinas JimĂ©nez <[email protected]>2011-09-19 14:18:09 +0200
committerHenrik Nord <[email protected]>2011-11-09 14:46:45 +0100
commite318f7ef0901ad8230cf7a477c20ccf202f4e9af (patch)
treeb9fa3ad49db71c942e7f8b162026b97f71d5824e /system/doc
parent766a0a84f0b9e4b9341fb06364bf5430574588a6 (diff)
downloadotp-e318f7ef0901ad8230cf7a477c20ccf202f4e9af.tar.gz
otp-e318f7ef0901ad8230cf7a477c20ccf202f4e9af.tar.bz2
otp-e318f7ef0901ad8230cf7a477c20ccf202f4e9af.zip
Fix typo in the Reference Manual macros section
The module is not added in a function call inside a macro.
Diffstat (limited to 'system/doc')
-rw-r--r--system/doc/reference_manual/macros.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/doc/reference_manual/macros.xml b/system/doc/reference_manual/macros.xml
index 9dd5fc79bd..bfac7f8d79 100644
--- a/system/doc/reference_manual/macros.xml
+++ b/system/doc/reference_manual/macros.xml
@@ -234,7 +234,7 @@ or
?TESTCALL(you:function(2,1)).</code>
<p>results in</p>
<code type="none">
-io:format("Call ~s: ~w~n",["myfunction ( 1 , 2 )",m:myfunction(1,2)]),
+io:format("Call ~s: ~w~n",["myfunction ( 1 , 2 )",myfunction(1,2)]),
io:format("Call ~s: ~w~n",["you : function ( 2 , 1 )",you:function(2,1)]).</code>
<p>That is, a trace output with both the function called and
the resulting value.</p>