https://issues.dlang.org/show_bug.cgi?id=21849

--- Comment #2 from Iain Buclaw <[email protected]> ---
(In reply to Iain Buclaw from comment #1)
> Reason is that column tracking just uses simple pointer subtraction.
> 
> https://github.com/dlang/dmd/blob/db13c6c948b4724ad8235c7063feba1241f685b4/
> src/dmd/lexer.d#L2291
> 
Nope, I've changed my mind.  This should be handled by the dmd.errors
diagnostic routines.

The location held by Loc is correct, as it is the raw byte column number.

--

Reply via email to