[erlang-patches] Scan "=<<" as something useful
Anthony Ramine
n.oxyde@REDACTED
Sun Apr 21 22:15:28 CEST 2013
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
More information about the erlang-patches
mailing list