aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_pp.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-02-21 08:09:10 +0100
committerHans Bolinder <[email protected]>2019-02-21 08:09:10 +0100
commitd1c00c691422bd43f007a68458347694d231dd0a (patch)
tree1a4935b3108e9e489c95153f731ae18e01fd0c96 /lib/stdlib/src/erl_pp.erl
parent1bb47d7af151750dab75c29ed67fcd0f44d2adec (diff)
parentf06f5bf23a3cd1f040c8ab6f059097d22161abc7 (diff)
downloadotp-d1c00c691422bd43f007a68458347694d231dd0a.tar.gz
otp-d1c00c691422bd43f007a68458347694d231dd0a.tar.bz2
otp-d1c00c691422bd43f007a68458347694d231dd0a.zip
Merge branch 'maint'
* maint: stdlib: Fix a bug in the Erlang Pretty Printer
Diffstat (limited to 'lib/stdlib/src/erl_pp.erl')
-rw-r--r--lib/stdlib/src/erl_pp.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stdlib/src/erl_pp.erl b/lib/stdlib/src/erl_pp.erl
index dd302a2880..ada3ff5de3 100644
--- a/lib/stdlib/src/erl_pp.erl
+++ b/lib/stdlib/src/erl_pp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2019. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -697,6 +697,8 @@ fun_info(Extra) ->
%% BITS:
+bit_grp([], _Opts) ->
+ leaf("<<>>");
bit_grp(Fs, Opts) ->
append([['<<'], [bit_elems(Fs, Opts)], ['>>']]).