Markus Armbruster writes:
> Lluís Vilanova 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):
>> - re
Lluís Vilanova 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, s
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)
>>
Lluís Vilanova writes:
> Markus Armbruster writes:
>
>> Lluís Vilanova 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 di
Markus Armbruster writes:
> Lluís Vilanova 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 impo
Lluís Vilanova writes:
> Use an explicit input file on the command-line instead of reading from
> standard input
>
> Signed-off-by: Lluís Vilanova
> ---
> Makefile | 24 ++--
> docs/qapi-code-gen.txt|4 ++--
Use an explicit input file on the command-line instead of reading from standard
input
Signed-off-by: Lluís Vilanova
---
Makefile | 24 ++--
docs/qapi-code-gen.txt|4 ++--
scripts/qapi-commands.py