[erlang-patches] Scan "=<<" as something useful

Fredrik fredrik@REDACTED
Mon Apr 29 09:14:06 CEST 2013


On 04/21/2013 10:15 PM, Anthony Ramine wrote:
> Hello,
>
> I've noticed that Erlang/OTP own code tend to be space-free, e.g. {a,
> b} is rather written as {a,b}. Then there is the occasional Bin=
> <<42>>  with a space because erl_scan will scans "=<<" as '=<','<'
> instead of '=','<<'. This patch teaches erl_scan how to not do that.
>
> There is no backwards compatibility problem as '=<','<' can't appear
> in valid code.
>
>          git fetch https://github.com/nox/otp.git disambiguate-equal-binary
>
>          https://github.com/nox/otp/compare/disambiguate-equal-binary
>          https://github.com/nox/otp/compare/disambiguate-equal-binary.patch
>
> Regards,
>
> --
> Anthony Ramine
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Hello Anthony,
I've fetched your branch and it is now in the 'pu' branch.
A review process has started.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team




More information about the erlang-patches mailing list