Received: from eggs.gnu.org ([2001:4830:134:3::10]:40141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWkgI-0005wk-UV for qemu-devel@nongnu.org; Wed, 24 Sep 2014 07:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWkgC-0006sY-PQ for qemu-devel@nongnu.org; Wed, 24 Sep 2014 07:24:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWkgC-0006s9-H8 for qemu-devel@nongnu.org; Wed, 24 Sep 2014 07:24:16 -0400 From: Markus Armbruster References: <1411165504-18198-1-git-send-email-eblake@redhat.com> <1411165504-18198-10-git-send-email-eblake@redhat.com> Date: Wed, 24 Sep 2014 13:24:06 +0200 In-Reply-To: <1411165504-18198-10-git-send-email-eblake@redhat.com> (Eric Blake's message of "Fri, 19 Sep 2014 16:24:54 -0600") Message-ID: <87k34tz2g9.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v4 09/19] qapi: Add tests of redefined expressions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Fam Zheng , qemu-devel@nongnu.org, wenchaoqemu@gmail.com, Luiz Capitulino Eric Blake writes: > Demonstrate that the qapi generator doesn't deal very well with > redefined expressions. At the parse level, they are silently > accepted; I'm not sure what would happen if we tried to go > further and use it in generated code, but the end result can't > be good. A later patch will tighten things up and adjust the > testsuite to match. > > Signed-off-by: Eric Blake Reviewed-by: Markus Armbruster