[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/3] qapi: Add a primitive to include other f
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/3] qapi: Add a primitive to include other files from a QAPI schema file |
Date: |
Thu, 27 Feb 2014 14:14:36 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 02/11/2014 06:00 AM, Lluís Vilanova wrote:
> Adds the "include(...)" primitive to the syntax of QAPI schema files.
>
> Signed-off-by: Lluís Vilanova <address@hidden>
> + included = self.included + [include_path_rel]
> + if include_path_rel in self.included:
> + raise QAPISchemaError(self, "Inifite inclusion loop:
> %s"
s/Inifite/Infinite/
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature