Refactor to eliminate repeated code
commit7d89246e93206e4ba9a4f12dee6c73e427eebd8a
authorOlly Betts <olly@survex.com>
Mon, 22 Aug 2016 01:47:19 +0000 (22 13:47 +1200)
committerOlly Betts <olly@survex.com>
Mon, 22 Aug 2016 01:47:19 +0000 (22 13:47 +1200)
treee3903da43bf9eabe4fdc948bc5adaca21cf824a8
parentd80c9f6bf2e6bc06dc418721938db636209ed495
Refactor to eliminate repeated code

Create compile_v_report_fpos() function to handle reporting with the
column specified via a file position.

Where we have a caret width, the column reported in the message now
matches the location of the ^ under the shown line.
src/datain.c