aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-05-19 09:21:02 +0200
committerHans Bolinder <[email protected]>2016-06-09 11:28:00 +0200
commit3b2d98cf1cf8983896293a220275b6ebfa7a609d (patch)
tree0f90bf3f778c0fce6da236c681694e129fd2b058 /erts
parentfb49e45402c0370c030ce3c128b08bccf960bf44 (diff)
downloadotp-3b2d98cf1cf8983896293a220275b6ebfa7a609d.tar.gz
otp-3b2d98cf1cf8983896293a220275b6ebfa7a609d.tar.bz2
otp-3b2d98cf1cf8983896293a220275b6ebfa7a609d.zip
erts: Correct character repr in doc of the abstract format
Barklund's and Virding's spec states that character literals are represented by {integer, Line, L}. The copy-and-paste bug is fixed the description of the abstract format.
Diffstat (limited to 'erts')
-rw-r--r--erts/doc/src/absform.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/doc/src/absform.xml b/erts/doc/src/absform.xml
index bfabb7f042..0b04f8f70e 100644
--- a/erts/doc/src/absform.xml
+++ b/erts/doc/src/absform.xml
@@ -152,9 +152,11 @@
<list type="bulleted">
<item>If L is an atom literal, then
Rep(L) = <c>{atom,LINE,L}</c>.</item>
+ <item>If L is a character literal, then
+ Rep(L) = <c>{char,LINE,L}</c>.</item>
<item>If L is a float literal, then
Rep(L) = <c>{float,LINE,L}</c>.</item>
- <item>If L is an integer or character literal, then
+ <item>If L is an integer literal, then
Rep(L) = <c>{integer,LINE,L}</c>.</item>
<item>If L is a string literal consisting of the characters
<c>C_1</c>, ..., <c>C_k</c>, then