diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2010-05-24 09:39:52 +0200 |
|---|---|---|
| committer | Luiz Capitulino <lcapitulino@redhat.com> | 2010-06-11 15:25:14 -0300 |
| commit | f7c052747e4b139df16e1d5b7851f4729acc2bb7 (patch) | |
| tree | cbdef39614a22f702ace4b66be1d38661af69400 /json-parser.c | |
| parent | 7f8fca7c8add770d6533c44d2d001c0442ed0371 (diff) | |
| download | focaccia-qemu-f7c052747e4b139df16e1d5b7851f4729acc2bb7.tar.gz focaccia-qemu-f7c052747e4b139df16e1d5b7851f4729acc2bb7.zip | |
implement optional lookahead in json lexer
Not requiring one extra character when lookahead is not necessary ensures that clients behave properly even if they, for example, send QMP requests without a trailing newline. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'json-parser.c')
0 files changed, 0 insertions, 0 deletions