Re: [Qemu-devel] [PATCH 10/22] qapi: qapi.py, make json parser more robust

2012-07-24 Thread Michael Roth
On Tue, Jul 24, 2012 at 05:23:33PM -0500, Anthony Liguori wrote: > Michael Roth writes: > > > Currently the QAPI JSON parser expects a very particular style of code > > indentation, the major one being that terminating curly/square brackets are > > not on placed on a seperate line. This is incomp

Re: [Qemu-devel] [PATCH 10/22] qapi: qapi.py, make json parser more robust

2012-07-24 Thread Anthony Liguori
Michael Roth writes: > Currently the QAPI JSON parser expects a very particular style of code > indentation, the major one being that terminating curly/square brackets are > not on placed on a seperate line. This is incompatible with most > pretty-print formats, so make it a little more robust by

[Qemu-devel] [PATCH 10/22] qapi: qapi.py, make json parser more robust

2012-07-24 Thread Michael Roth
Currently the QAPI JSON parser expects a very particular style of code indentation, the major one being that terminating curly/square brackets are not on placed on a seperate line. This is incompatible with most pretty-print formats, so make it a little more robust by supporting these cases. Signe