diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-11-25 22:23:30 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-11-26 10:06:57 +0100 |
commit | d538b25543f4db026bb435066e2403a542522c40 (patch) | |
tree | 0a05e2bc185ea28e613ce0021188903ed597c719 /qga | |
parent | d2ca7c0b0d876cf0e219ae7a92252626b0913a28 (diff) |
qjson: Convert to parser to recursive descent
We backtrack in parse_value(), even though JSON is LL(1) and thus can
be parsed by straightforward recursive descent. Do exactly that.
Based on an almost-correct patch from Paolo Bonzini.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1448486613-17634-10-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions