[PATCH 2/3] docs/devel/qapi-code-gen: Fix typos in QAPI schema language grammar

Markus Armbruster posted 3 patches 3 months, 2 weeks ago
Maintainers: Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, John Snow <jsnow@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
[PATCH 2/3] docs/devel/qapi-code-gen: Fix typos in QAPI schema language grammar
Posted by Markus Armbruster 3 months, 2 weeks ago
Fixes: 3248c1aaf2db (docs: update the documentation upfront about schema configuration)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 docs/devel/qapi-code-gen.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst
index 138921b386..2cd51729c3 100644
--- a/docs/devel/qapi-code-gen.rst
+++ b/docs/devel/qapi-code-gen.rst
@@ -786,8 +786,8 @@ Configuring the schema
 Syntax::
 
     COND = STRING
-         | { 'all: [ COND, ... ] }
-         | { 'any: [ COND, ... ] }
+         | { 'all': [ COND, ... ] }
+         | { 'any': [ COND, ... ] }
          | { 'not': COND }
 
 All definitions take an optional 'if' member.  Its value must be a
-- 
2.49.0
Re: [PATCH 2/3] docs/devel/qapi-code-gen: Fix typos in QAPI schema language grammar
Posted by John Snow 3 months, 1 week ago
On Thu, Jul 31, 2025 at 1:40 AM Markus Armbruster <armbru@redhat.com> wrote:
>
> Fixes: 3248c1aaf2db (docs: update the documentation upfront about schema configuration)
> Signed-off-by: Markus Armbruster <armbru@redhat.com>

Reviewed-by: John Snow <jsnow@redhat.com>

> ---
>  docs/devel/qapi-code-gen.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst
> index 138921b386..2cd51729c3 100644
> --- a/docs/devel/qapi-code-gen.rst
> +++ b/docs/devel/qapi-code-gen.rst
> @@ -786,8 +786,8 @@ Configuring the schema
>  Syntax::
>
>      COND = STRING
> -         | { 'all: [ COND, ... ] }
> -         | { 'any: [ COND, ... ] }
> +         | { 'all': [ COND, ... ] }
> +         | { 'any': [ COND, ... ] }

Oopsie.

>           | { 'not': COND }
>
>  All definitions take an optional 'if' member.  Its value must be a
> --
> 2.49.0
>