Skip to content

Commit

Permalink
Cleaned up additional definitions in bootstrap
Browse files Browse the repository at this point in the history
* sequel of 58be63e
* and also of a4cac02
* definitions are unused since the removal of these macros.
  • Loading branch information
Ariel Otilibili committed Jul 14, 2024
1 parent fbb8263 commit 2aecbc8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,7 @@ format_error(AbsSource, Extra, {Mod, Desc}) ->
io_lib:format("~s: ~s~s~n", [AbsSource, Extra, ErrorDesc]).

additional_defines() ->
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types},
{"^(20)", fun_stacktrace},
{"^(2)", rand_module}],
is_otp_release(Re)].
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types}], is_otp_release(Re)].

is_otp_release(ArchRegex) ->
case re:run(otp_release(), ArchRegex, [{capture, none}]) of
Expand Down

0 comments on commit 2aecbc8

Please sign in to comment.