From 21ac9b68234ab262f9ef05a33399a94cd8f1dfdb Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Sun, 18 Feb 2024 19:31:07 +0000 Subject: [PATCH] Compile on OTP 27 This commit fixes the following error when building `rebar_raw_resource` on OTP 27.0-rc1: " _build/test/plugins/rebar_raw_resource/src/rebar_raw_resource.erl:54:9: badly formed 'define' " It looks like 'else' became a reserved keyword. In any case, the macro in question is not being used. --- src/rebar_raw_resource.erl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rebar_raw_resource.erl b/src/rebar_raw_resource.erl index 3df8640..0a53e93 100644 --- a/src/rebar_raw_resource.erl +++ b/src/rebar_raw_resource.erl @@ -51,7 +51,6 @@ % For development only - you *really* don't want this defined! %-define(RRR_DEBUG, true). --define(else, 'true'). -define(is_min_tuple(Var, Min), erlang:is_tuple(Var) andalso erlang:tuple_size(Var) >= Min). -define(is_rec_type(Var, Type, Min),