From 2aecbc80b8d25998d4801cf22274c1c828cff5a5 Mon Sep 17 00:00:00 2001 From: Ariel Otilibili Date: Sun, 14 Jul 2024 15:10:41 +0200 Subject: [PATCH] Cleaned up additional definitions in `bootstrap` * sequel of 58be63e57e5ba245579dd94827edc48892ae9fff * and also of a4cac026f55cc5c095a6db28ef372e8b4033b790 * definitions are unused since the removal of these macros. --- bootstrap | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bootstrap b/bootstrap index 386d23bf1..2f2925d9f 100755 --- a/bootstrap +++ b/bootstrap @@ -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