Oleg Zinchenko 10 лет назад
Родитель
Сommit
4c76fc5e10
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/compile/mad_leex.erl
  2. 1 1
      src/compile/mad_yecc.erl

+ 1 - 1
src/compile/mad_leex.erl

@@ -9,5 +9,5 @@ compile(File,Inc,Bin,Opt,Deps) ->
     Compiled = mad_compile:is_compiled(ErlFile,File),
     if Compiled == false ->
         leex:file(File),
-        mad_erl:compile(ErlFile,Inc,Bin,Opt); true -> ok end.
+        mad_erl:compile(ErlFile,Inc,Bin,Opt,Deps); true -> ok end.
 

+ 1 - 1
src/compile/mad_yecc.erl

@@ -9,5 +9,5 @@ compile(File,Inc,Bin,Opt,Deps) ->
     Compiled = mad_compile:is_compiled(ErlFile,File),
     if Compiled == false ->
         yecc:file(File),
-        mad_erl:compile(ErlFile,Inc,Bin,Opt); true -> ok end.
+        mad_erl:compile(ErlFile,Inc,Bin,Opt,Deps); true -> ok end.