mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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]
This commit is contained in:
parent
aa222a8e4f
commit
290e48e8f1
2 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
|||
doc-interleaved-section.json:15:1: '@foobar:' can't follow 'Note' section
|
||||
doc-interleaved-section.json:15:1: description of '@foobar:' follows a section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue