diff options
author | Loïc Hoguin <[email protected]> | 2015-09-06 19:34:35 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-06 19:34:35 +0200 |
commit | 84cffff9f735f04dab0bbfe755c05ec252342a46 (patch) | |
tree | 70ebfa1adfe1c17207902cf0c7bf07cfbcb6ab37 | |
parent | 2d46e2588ed9f0ea8300e5e918b3158397976010 (diff) | |
download | erlang.mk-84cffff9f735f04dab0bbfe755c05ec252342a46.tar.gz erlang.mk-84cffff9f735f04dab0bbfe755c05ec252342a46.tar.bz2 erlang.mk-84cffff9f735f04dab0bbfe755c05ec252342a46.zip |
Use epp:parse_file/3 for compat with older OTP versions
R16B03 in particular is missing epp:parse_file/2.
-rw-r--r-- | core/erlc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/erlc.mk b/core/erlc.mk index 9202d64..5ce5d9e 100644 --- a/core/erlc.mk +++ b/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); |