diff options
| author | Markus Armbruster | 2018-08-23 18:39:47 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-08-24 20:26:37 +0200 |
| commit | 00ea57fadcb899b7e21079dacb47b6fb8af5b2fa (patch) | |
| tree | 625d0703969b40598d4fbe5c66a2b80f6f3ea143 /scripts/qapi | |
| parent | json: Revamp lexer documentation (diff) | |
| download | qemu-00ea57fadcb899b7e21079dacb47b6fb8af5b2fa.tar.gz qemu-00ea57fadcb899b7e21079dacb47b6fb8af5b2fa.tar.xz qemu-00ea57fadcb899b7e21079dacb47b6fb8af5b2fa.zip | |
json: Tighten and simplify qstring_from_escaped_str()'s loop
Simplify loop control, and assert that the string ends with the
appropriate quote (the lexer ensures it does).
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-21-armbru@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions
