aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPéter Gömöri <[email protected]>2018-12-27 00:00:14 +0100
committerPéter Gömöri <[email protected]>2018-12-27 00:00:14 +0100
commit4c3418d26b8bb209aa46a2debd12e9f406738947 (patch)
tree84d3ad2f28677d85017fb5063eec6635410e3d40 /lib
parent55bf32b64e1a4bbed588544077a109fc07e1f02d (diff)
downloadotp-4c3418d26b8bb209aa46a2debd12e9f406738947.tar.gz
otp-4c3418d26b8bb209aa46a2debd12e9f406738947.tar.bz2
otp-4c3418d26b8bb209aa46a2debd12e9f406738947.zip
Add literal character to erl_parse:abstract_type/0 type
This is allowed since 19.3 (commit 6d238032) and documented since commit 744fb920.
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/erl_parse.yrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl
index 9602f0bcd9..5880eb4536 100644
--- a/lib/stdlib/src/erl_parse.yrl
+++ b/lib/stdlib/src/erl_parse.yrl
@@ -928,6 +928,7 @@ Erlang code.
[af_type_variable() | abstract_type()]}. % [V, T]
-type af_singleton_integer_type() :: af_integer()
+ | af_character()
| af_unary_op(af_singleton_integer_type())
| af_binary_op(af_singleton_integer_type()).