Re: [Qemu-devel] [PATCH] json-lexer: fix escaped backslash in single-quoted string

2014-06-19 Thread Luiz Capitulino
On Fri, 13 Jun 2014 10:13:02 +0200 Paolo Bonzini wrote: > This made the lexer wait for a closing *double* quote. > > Signed-off-by: Paolo Bonzini Applied to the qmp branch, thanks. > --- > qobject/json-lexer.c | 4 ++-- > tests/check-qjson.c | 7 +++ > 2 files changed, 9 insertions(+),

Re: [Qemu-devel] [PATCH] json-lexer: fix escaped backslash in single-quoted string

2014-06-17 Thread Amos Kong
On Fri, Jun 13, 2014 at 10:13:02AM +0200, Paolo Bonzini wrote: > This made the lexer wait for a closing *double* quote. > > Signed-off-by: Paolo Bonzini Reviewed-by: Amos Kong > --- > qobject/json-lexer.c | 4 ++-- > tests/check-qjson.c | 7 +++ > 2 files changed, 9 insertions(+), 2 del

Re: [Qemu-devel] [PATCH] json-lexer: fix escaped backslash in single-quoted string

2014-06-13 Thread Eric Blake
On 06/13/2014 02:13 AM, Paolo Bonzini wrote: > This made the lexer wait for a closing *double* quote. > > Signed-off-by: Paolo Bonzini > --- > qobject/json-lexer.c | 4 ++-- > tests/check-qjson.c | 7 +++ > 2 files changed, 9 insertions(+), 2 deletions(-) Reviewed-by: Eric Blake -- Eric

[Qemu-devel] [PATCH] json-lexer: fix escaped backslash in single-quoted string

2014-06-13 Thread Paolo Bonzini
This made the lexer wait for a closing *double* quote. Signed-off-by: Paolo Bonzini --- qobject/json-lexer.c | 4 ++-- tests/check-qjson.c | 7 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/qobject/json-lexer.c b/qobject/json-lexer.c index 440df60..b19623e 100644 --- a/