diff options
-rw-r--r-- | erlang.mk | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -17,7 +17,7 @@ ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST))) export ERLANG_MK_FILENAME -ERLANG_MK_VERSION = 2022.05.31-4-ga310407-dirty +ERLANG_MK_VERSION = bf7a194 ERLANG_MK_WITHOUT = # Make 3.81 and 3.82 are deprecated. @@ -7886,9 +7886,9 @@ define xref.erl true -> Res0; false -> lists:filter(fun(R) -> - {Mod, MFA} = case R of - {MFA0 = {M, _, _}, _} -> {M, MFA0}; - {M, _, _} -> {M, R} + {Mod, InMFA, MFA} = case R of + {InMFA0 = {M, _, _}, MFA0} -> {M, InMFA0, MFA0}; + {M, _, _} -> {M, R, R} end, Attrs = try Mod:module_info(attributes) @@ -7926,7 +7926,8 @@ define xref.erl true -> [$(XREF_IGNORE)] end, Ignores = InlineIgnores ++ BuiltinIgnores ++ CallbackIgnores ++ WideIgnores, - not (lists:member(MFA, Ignores) + not (lists:member(InMFA, Ignores) + orelse lists:member(MFA, Ignores) orelse lists:member({Mod, '_', '_'}, Ignores)) end, Res0) end, |