[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 01/19] qapi/expr: Comment cleanup
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v4 01/19] qapi/expr: Comment cleanup |
Date: |
Thu, 25 Mar 2021 16:41:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
John Snow <jsnow@redhat.com> writes:
> Fixes: 0825f62c842
For a slightly peculiar value of "fixes" ;)
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> scripts/qapi/expr.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/qapi/expr.py b/scripts/qapi/expr.py
> index 540b3982b1..c207481f7e 100644
> --- a/scripts/qapi/expr.py
> +++ b/scripts/qapi/expr.py
> @@ -241,7 +241,7 @@ def check_enum(expr, info):
> source = "%s '%s'" % (source, member_name)
> # Enum members may start with a digit
> if member_name[0].isdigit():
> - member_name = 'd' + member_name # Hack: hide the digit
> + member_name = 'd' + member_name # Hack: hide the digit
> check_name_lower(member_name, info, source,
> permit_upper=permissive,
> permit_underscore=permissive)
[PATCH v4 03/19] qapi/expr.py: Remove 'info' argument from nested check_if_str, John Snow, 2021/03/25
[PATCH v4 04/19] qapi/expr.py: Check for dict instead of OrderedDict, John Snow, 2021/03/25
[PATCH v4 07/19] qapi/expr.py: move string check upwards in check_type, John Snow, 2021/03/25