Re: [Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-03-04 Thread Markus Armbruster
Lluís Vilanova vilan...@ac.upc.edu writes: Markus Armbruster writes: [...] self.fp = schema.fp self.msg = msg self.line = self.col = 1 @@ -50,12 +52,17 @@ class QAPISchemaError(Exception): self.col += 1 def __str__(self): - return %s:%s:%s: %s % (self.fp.name, self.line, self.col,

Re: [Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-03-04 Thread Lluís Vilanova
Markus Armbruster writes: Lluís Vilanova vilan...@ac.upc.edu writes: Markus Armbruster writes: [...] self.fp = schema.fp self.msg = msg self.line = self.col = 1 @@ -50,12 +52,17 @@ class QAPISchemaError(Exception): self.col += 1 def __str__(self): - return %s:%s:%s: %s %

Re: [Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-03-03 Thread Lluís Vilanova
Markus Armbruster writes: Lluís Vilanova vilan...@ac.upc.edu writes: [...] diff --git a/scripts/qapi.py b/scripts/qapi.py index 9b3de4c..59c2b9b 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -12,6 +12,7 @@ # See the COPYING.LIB file in the top-level directory. from ordereddict

Re: [Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-03-03 Thread Markus Armbruster
Lluís Vilanova vilan...@ac.upc.edu writes: Markus Armbruster writes: Lluís Vilanova vilan...@ac.upc.edu writes: [...] diff --git a/scripts/qapi.py b/scripts/qapi.py index 9b3de4c..59c2b9b 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -12,6 +12,7 @@ # See the COPYING.LIB file in

Re: [Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-03-03 Thread Lluís Vilanova
Markus Armbruster writes: [...] self.fp = schema.fp self.msg = msg self.line = self.col = 1 @@ -50,12 +52,17 @@ class QAPISchemaError(Exception): self.col += 1 def __str__(self): - return %s:%s:%s: %s % (self.fp.name, self.line, self.col, self.msg) +name =

Re: [Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-03-01 Thread Markus Armbruster
Lluís Vilanova vilan...@ac.upc.edu writes: Use an explicit input file on the command-line instead of reading from standard input Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Makefile | 24 ++-- docs/qapi-code-gen.txt

[Qemu-devel] [PATCH v4 1/3] qapi: Use an explicit input file

2014-02-28 Thread Lluís Vilanova
Use an explicit input file on the command-line instead of reading from standard input Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Makefile | 24 ++-- docs/qapi-code-gen.txt|4 ++--