Просмотр исходного кода

Use epp:parse_file/3 for compat with older OTP versions

R16B03 in particular is missing epp:parse_file/2.
Loïc Hoguin 9 лет назад
Родитель
Сommit
84cffff9f7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/erlc.mk

+ 1 - 1
core/erlc.mk

@@ -155,7 +155,7 @@ define makedep.erl
 		end
 	end,
 	Depend = [begin
-		case epp:parse_file(F, [{includes, ["include/"]}]) of
+		case epp:parse_file(F, ["include/"], []) of
 			{ok, Forms} ->
 				Deps = lists:usort(lists:foldl(fun
 					({attribute, _, behavior, Dep}, Acc) -> Add(Dep, Acc);