Re: [Qemu-devel] [PATCH 08/19] qapi: Improve reporting of lexical errors

2019-09-17 Thread Eric Blake
On 9/14/19 10:34 AM, Markus Armbruster wrote: > Show text up to next structural character, whitespace, or quote > character instead of just the first character. > > Forgotten quotes now get reported like "Stray 'command'" instead of > "Stray 'c'". > > Signed-off-by: Markus Armbruster > --- Revi

[Qemu-devel] [PATCH 08/19] qapi: Improve reporting of lexical errors

2019-09-14 Thread Markus Armbruster
Show text up to next structural character, whitespace, or quote character instead of just the first character. Forgotten quotes now get reported like "Stray 'command'" instead of "Stray 'c'". Signed-off-by: Markus Armbruster --- scripts/qapi/common.py | 6 +- tests/qapi-schema/b