qapi: qapi.py: allow the "'" character to be escaped
commite0d45df7a5794b6821d2f8893a7f343109debab9
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 29 Jun 2012 23:53:37 +0000 (29 20:53 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 1 Aug 2012 21:09:29 +0000 (1 18:09 -0300)
treeabdcb756748095b76b32fa0051a08630af53755f
parent02d2bd5d57812154cfb978bc2098cf49d551583d
qapi: qapi.py: allow the "'" character to be escaped

Support escaping the escape character, and make more robust (don't die
for '', handle ' without matching '.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
scripts/qapi.py