summaryrefslogtreecommitdiff
path: root/src/rebar_compiler_yrl.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2018-10-06 18:52:20 -0600
committerGitHub <noreply@github.com>2018-10-06 18:52:20 -0600
commit763fd05a0f6be023a4f646c55ddd72ae193e350b (patch)
treed785184b18bcee2b83e527d7a72ec0f60c4d3cc4 /src/rebar_compiler_yrl.erl
parent4d92f3c040680213127fc3faa9638e1cd34b50fa (diff)
fix yrl compiler and add test (#1906)
Diffstat (limited to 'src/rebar_compiler_yrl.erl')
-rw-r--r--src/rebar_compiler_yrl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_compiler_yrl.erl b/src/rebar_compiler_yrl.erl
index 765ea36..41d93b1 100644
--- a/src/rebar_compiler_yrl.erl
+++ b/src/rebar_compiler_yrl.erl
@@ -34,7 +34,7 @@ compile(Source, [{_, OutDir}], _, Opts) ->
AllOpts = [{parserfile, Target} | Opts],
AllOpts1 = [{includefile, filename:join(OutDir, I)} || {includefile, I} <- AllOpts,
filename:pathtype(I) =:= relative],
- case yeec:file(Source, AllOpts1 ++ [{return, true}]) of
+ case yecc:file(Source, AllOpts1 ++ [{return, true}]) of
{ok, _} ->
ok;
{ok, _Mod, Ws} ->