Improve scriptindex diagnostic messages
commitdc05eca49c4c1709ad085440bb46108422e0e1e4
authorOlly Betts <olly@survex.com>
Thu, 13 Sep 2018 02:51:34 +0000 (13 14:51 +1200)
committerOlly Betts <olly@survex.com>
Thu, 13 Sep 2018 05:58:07 +0000 (13 17:58 +1200)
tree7452d7b2cb89cfb3f6109dac3ef60011d1eeffbd
parent25657f210d1b277fda349fbbb9f44a9efe647ba7
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.
xapian-applications/omega/omegatest
xapian-applications/omega/scriptindex.cc