On Sunday, 22 September 2013 at 00:33:32 UTC, Walter Bright wrote:
On 9/21/2013 5:11 PM, Sean Kelly wrote:
as well as having to have the source file
buffer stay around throughout the compile (to compute column
number you need the source in order to account for tabs &
Unicode).
trade-off: print the offending line as seen in the analyzed file
(after you process tabs&unicode), and refer the column wrt its
beginning.
Then display a caret on the next line.
Even if not identical with the line in the original file, at
least it's better than nothing.