Skip to content
Snippets Groups Projects
Commit 290e48e8 authored by Markus Armbruster's avatar Markus Armbruster
Browse files

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: default avatarMarkus Armbruster <armbru@redhat.com>
Message-Id: <20230510141637.3685080-1-armbru@redhat.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
[Conflict with commit 3e32dca3 resolved]
parent aa222a8e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment