[erlang-patches] Allow the source to be set when compiling forms

Gustav Simonsson <>
Fri Mar 30 15:51:35 CEST 2012


Hi José,

We'll add this patch to the 'pu' branch.
Thank you for the contribution!

Regards,
Gustav Simonsson
Erlang/OTP team

On 2012-03-23 15:00, José Valim wrote:
> Here is a patch that allows compile:forms() to receive a source option 
> that specifies the source value returned by module_info(compile).
> Currently, there is no way to set the source and Erlang ends up 
> setting the source to the current directory.
>
> git fetch git://github.com/josevalim/otp.git 
> <http://github.com/josevalim/otp.git> forms-source
>
> https://github.com/josevalim/otp/compare/forms-source
> https://github.com/josevalim/otp/compare/forms-source.patch
>
> The patch includes code, tests and docs changes.
>
> For more information, the initial discussion in Erlang Questions 
> mailing list: 
> http://erlang.org/pipermail/erlang-questions/2012-March/065361.html
>
> Thanks!
>
>
> *
> *José Valim*
> www.plataformatec.com.br <http://www.plataformatec.com.br/>
> Founder and Lead Developer
> *
>
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20120330/42a10e5a/attachment.html>


More information about the erlang-patches mailing list