Re: [Qemu-devel] [PATCH v3 for-2.5 05/12] qjson: Give each of the six structural chars its own token type

2015-11-26 Thread Markus Armbruster
Eric Blake writes: > On 11/25/2015 02:23 PM, Markus Armbruster wrote: >> Simplifies things, because we always check for a specific one. >> >> Signed-off-by: Markus Armbruster >> --- >> include/qapi/qmp/json-lexer.h | 7 ++- >> qobject/json-lexer.c

Re: [Qemu-devel] [PATCH v3 for-2.5 05/12] qjson: Give each of the six structural chars its own token type

2015-11-25 Thread Eric Blake
On 11/25/2015 02:23 PM, Markus Armbruster wrote: > Simplifies things, because we always check for a specific one. > > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/json-lexer.h | 7 ++- > qobject/json-lexer.c | 19 --- >

[Qemu-devel] [PATCH v3 for-2.5 05/12] qjson: Give each of the six structural chars its own token type

2015-11-25 Thread Markus Armbruster
Simplifies things, because we always check for a specific one. Signed-off-by: Markus Armbruster --- include/qapi/qmp/json-lexer.h | 7 ++- qobject/json-lexer.c | 19 --- qobject/json-parser.c | 31 +--