qemu-e2k/scripts/qapi
Markus Armbruster 290e48e8f1 qapi: Improve error message for description following section
The error message is bad when the section is untagged.  For instance,
test case doc-interleaved-section produces "'@foobar:' can't follow
'Note' section", which is okay, but if we drop the "Note:" tag, we get
"'@foobar:' can't follow 'None' section, which is bad.

Change the error message to "description of '@foobar:' follows a
section".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230510141637.3685080-1-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
[Conflict with commit 3e32dca3f0 resolved]
2023-05-22 10:03:26 +02:00
..
__init__.py
.flake8
.isort.cfg
commands.py qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
common.py
error.py
events.py
expr.py qapi: Fix to reject 'data': 'mumble' in struct 2023-04-24 15:21:39 +02:00
gen.py qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
introspect.py
main.py qapi: Fix error message format regression 2023-04-24 15:09:10 +02:00
mypy.ini Python: Drop support for Python 3.6 2023-05-18 08:53:51 +02:00
parser.py qapi: Improve error message for description following section 2023-05-22 10:03:26 +02:00
pylintrc
schema.py qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
source.py
types.py
visit.py qapi: Fix code generated for optional conditional struct member 2023-04-24 15:21:39 +02:00