[erlang-patches] Scan "=<<" as something useful
Per Hedeland
per@REDACTED
Mon Apr 29 14:37:41 CEST 2013
Anthony Ramine <n.oxyde@REDACTED> wrote:
>
>If I read the documentation, I don't see anywhere where it is written that erl_scan is supposed to be greedy. Nor I see any syntax knowledge if we just say that erl_scan will avoid returning two consecutive comparison operators if it can. That is just knowledge that '=<' '<' makes no sense, and I can't think of any language where it does.
1> A = <<17>>.
<<17>>
2> A=<<<42>>.
true
So will this useful:-) syntax break with the patch? (I haven't looked at
it).
--Per Hedeland
More information about the erlang-patches
mailing list