[Qemu-devel] [PATCH v3 2/3] qapi: Add a primitive to include other files from a QAPI schema file

2014-02-11 Thread Lluís Vilanova
Adds the "include(...)" primitive to the syntax of QAPI schema files. Signed-off-by: Lluís Vilanova --- docs/qapi-code-gen.txt |8 scripts/qapi.py| 36 ++-- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/docs/qapi-code-gen.t

Re: [Qemu-devel] [PATCH v3 2/3] qapi: Add a primitive to include other files from a QAPI schema file

2014-02-27 Thread Eric Blake
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 > +included = self.included + [include_path_rel] > +if include_path_rel in self.included: > +