commit | f7c052747e4b139df16e1d5b7851f4729acc2bb7 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon May 24 09:39:52 2010 +0200 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Fri Jun 11 15:25:14 2010 -0300 |
tree | cbdef39614a22f702ace4b66be1d38661af69400 | |
parent | 7f8fca7c8add770d6533c44d2d001c0442ed0371 [diff] |
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>