diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2014-05-07 20:46:15 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-05-08 14:19:58 -0400 |
commit | a719a27c824ea5e70f5bf6f3c8d13a8c1d6b1bfe (patch) | |
tree | 6510043e8cbf7065c8ea9802f67b91f425820143 /tests/qapi-schema/include-cycle.err | |
parent | 33aaad529e7391a9ddc73682415e900950553200 (diff) |
qapi: Add a primitive to include other files from a QAPI schema file
The primitive uses JSON syntax, and include paths are relative to the file using the directive:
{ 'include': 'path/to/file.json' }
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'tests/qapi-schema/include-cycle.err')
-rw-r--r-- | tests/qapi-schema/include-cycle.err | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/include-cycle.err b/tests/qapi-schema/include-cycle.err new file mode 100644 index 0000000000..602cf62329 --- /dev/null +++ b/tests/qapi-schema/include-cycle.err @@ -0,0 +1,3 @@ +In file included from tests/qapi-schema/include-cycle.json:1: +In file included from include-cycle-b.json:1: +include-cycle-c.json:1: Inclusion loop for include-cycle.json |