[erlang-questions] idea: using erlc for more file types

Vlad Dumitrescu vladdu55@REDACTED
Mon Oct 29 14:04:18 CET 2007


Hmm, something is missing from the patch:

Index: erl_compile.erl
===================================================================
--- erl_compile.erl	(revision 20)
+++ erl_compile.erl	(working copy)
@@ -180,7 +180,7 @@
     io:format("File has no extension: ~s~n", [Input]),
     error;
 compile_file(Ext, Input, Output, Options) ->
-    case compiler(Ext) of
+    case compiler(Ext, Options) of
 	no ->
 	    io:format("Unknown extension: '~s'\n", [Ext]),
 	    error;



More information about the erlang-questions mailing list