aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-03-18 15:31:41 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-04-01 11:21:21 +0200
commitf8bd9be45de37fa20bb82721c8ba2fc67b8a7cc9 (patch)
tree1b3ae7a2383a4aec4f54a7fe22837fcdcc16edce /system/doc
parent2b42af9aab024db55f57aa5d70751712074f2bab (diff)
downloadotp-f8bd9be45de37fa20bb82721c8ba2fc67b8a7cc9.tar.gz
otp-f8bd9be45de37fa20bb82721c8ba2fc67b8a7cc9.tar.bz2
otp-f8bd9be45de37fa20bb82721c8ba2fc67b8a7cc9.zip
doc: Clearify language of user-defined attributes
Diffstat (limited to 'system/doc')
-rw-r--r--system/doc/reference_manual/modules.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml
index 9e5f4de385..77a8b1dc95 100644
--- a/system/doc/reference_manual/modules.xml
+++ b/system/doc/reference_manual/modules.xml
@@ -53,10 +53,10 @@ fact(0) -> % |
<pre>
-Tag(Value).</pre>
<p><c>Tag</c> must be an atom, while <c>Value</c> must be a literal
- term. As a convenience in user-defined attributes, the literal term
- <c>Value</c> the syntax <c>Name/Arity</c>
- (where <c>Name</c> is an atom and <c>Arity</c> a positive integer)
- will be translated to <c>{Name,Arity}</c>.</p>
+ term. As a convenience in user-defined attributes, if the literal term
+ <c>Value</c> has the syntax <c>Name/Arity</c>
+ (where <c>Name</c> is an atom and <c>Arity</c> a positive integer),
+ the term <c>Name/Arity</c> will be translated to <c>{Name,Arity}</c>.</p>
<p>Any module attribute can be specified. The attributes are stored
in the compiled code and can be retrieved by calling