From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2o9F-0007T2-Qh for qemu-devel@nongnu.org; Fri, 26 Jul 2013 15:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2o9E-0008RR-R0 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 15:57:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2o9E-0008RN-IV for qemu-devel@nongnu.org; Fri, 26 Jul 2013 15:57:56 -0400 Message-ID: <51F2D4C1.8070209@redhat.com> Date: Fri, 26 Jul 2013 13:57:53 -0600 From: Eric Blake MIME-Version: 1.0 References: <1374842387-17146-1-git-send-email-armbru@redhat.com> <1374842387-17146-5-git-send-email-armbru@redhat.com> <51F29620.9090108@redhat.com> <87ob9pqfpi.fsf@blackfin.pond.sub.org> <51F2D290.3040806@redhat.com> In-Reply-To: <51F2D290.3040806@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4XpklQcXFNTQ6QLIXMP5qetEuN9ggFI6X" Subject: Re: [Qemu-devel] [PATCH 4/9] qapi.py: Decent syntax error reporting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: mdroth@linux.vnet.ibm.com, aliguori@us.ibm.com, akong@redhat.com, Markus Armbruster , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4XpklQcXFNTQ6QLIXMP5qetEuN9ggFI6X Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/26/2013 01:48 PM, Paolo Bonzini wrote: > Il 26/07/2013 21:33, Markus Armbruster ha scritto: >>> Do we even want to allow TABs in the schema files? Right now, they a= re >>> tab-free; if you error out here instead of futzing with tab width, we= >>> could forcefully maintain that property. >> >> I'm not volunteering for the TAB police, but if y'all want the parser = to >> reject TABs, I can do that. >=20 > No, please don't. TAB is whitespace in JSON, and should be whitespace > in schema files. Good argument. Just because we don't use it now doesn't mean we have to actively forbid it from future use; and the more we diverge from the JSON spec, the more we are stuck maintaining our parser by hand. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --4XpklQcXFNTQ6QLIXMP5qetEuN9ggFI6X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJR8tTBAAoJEKeha0olJ0NqU38IALATWJzu1IRDNj5UzSaWwwmm /30jyfDbpSDYdq9JsNUxJOTYSg4U5pS4ckM16hcbvSEy0FwipixD649QqcpxeaFQ a5MAStRvlhLZSt/Xa4aWBvkZUUnsCsDqzovJNJ3bQ6x+GflVmrzGZtT9/LohRCxU 1OfPpsPRFeP0JPZdBlVKwwsxyXtbduevyZAh1UHfXjpTBXThiG+X8F+q2REqCzC1 jOiSYL65Z4mQLlgrZUqiIEVw8dhbfLoT1z9iMM3uYqrFKq0w3NbsI0QTJ7fXDMLr +hbwxHbO7yeL3+h6iEaOFK2XrilC7OssVacN8WTa6UNAQcq41goeg8ap1fDM5ZY= =5VTi -----END PGP SIGNATURE----- --4XpklQcXFNTQ6QLIXMP5qetEuN9ggFI6X--