scriptindex: Fix infinitely repeating error
commit000a0f35c228d48ea7062e90a5bdb8ad71cfc2e2
authorOlly Betts <olly@survex.com>
Mon, 31 Jul 2023 04:18:45 +0000 (31 16:18 +1200)
committerOlly Betts <olly@survex.com>
Mon, 31 Jul 2023 04:18:45 +0000 (31 16:18 +1200)
treec0cb0fa11852cc53e00befa483f66c7694e5e060
parent6e959570f8f7d4ee3f97d5a454451efa56f19953
scriptindex: Fix infinitely repeating error

If we wre expecting an action but didn't get an identifier this triggered an
infinitely repeating error:

Unknown index action ''

Now we instead give a single error:

Expected index action, found '...'

where '...' shows the sequence of non-whitespace characters encountered.
xapian-applications/omega/omegatest.pl
xapian-applications/omega/scriptindex.cc