Improve scriptindex diagnostic messages
commit246d1d0184c280dffdc8233af590f86b2f657bb3
authorOlly Betts <olly@survex.com>
Thu, 13 Sep 2018 02:51:34 +0000 (13 14:51 +1200)
committerOlly Betts <olly@survex.com>
Fri, 14 Sep 2018 00:38:02 +0000 (14 12:38 +1200)
treebd8d38140794a85b31ae1576a69acb694d62b4e6
parent2c6c43bdbe8a37361ce73f8343895ee7b2450d71
Improve scriptindex diagnostic messages

Factor out the start of some common machinery to handle reporting
errors and warnings.

Consistently report "$FILE:$LINE:" also add "$COLUMN:" in most
cases to make it clearer where the problem lies.

Label all diagnostics as "error", "warning" or "note" as appropriate.

(cherry picked from commit dc05eca49c4c1709ad085440bb46108422e0e1e4)
xapian-applications/omega/omegatest
xapian-applications/omega/scriptindex.cc