[erlang-bugs] erl_scan counts white space badly
Mon Jan 18 13:37:59 CET 2010
> I tried the column tracking functionality of erl_scan:
> The original source code wasn't misaligned, but the indentation
> used a mix of tabs and spaces. erl_scan treats all kinds of
> white space as one space.
> I think it would be reasonable to at the very least increment by
> 8 if it's a tab. Supporting a tab length option might also be
> possible, but then it would also be nice to have e.g. epp support
> passing of this option to the scanner.
We will consider adding such an option in a future release.
Hans Bolinder, Erlang/OTP team, Ericsson
More information about the erlang-bugs