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,
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 %
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
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
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 =
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
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 ++--