diff options
| author | Markus Armbruster <armbru@redhat.com> | 2021-03-23 10:40:06 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2021-03-23 22:30:32 +0100 |
| commit | 0825f62c842f2c07c5471391c6d7fd3f4fe83732 (patch) | |
| tree | e86a8c3d0c7fc41255a9bfd762ed7523d9e69e29 /scripts/qapi/events.py | |
| parent | 5fbc78dd3675832062894aeca89a52c90a96f954 (diff) | |
| download | focaccia-qemu-0825f62c842f2c07c5471391c6d7fd3f4fe83732.tar.gz focaccia-qemu-0825f62c842f2c07c5471391c6d7fd3f4fe83732.zip | |
qapi: Lift enum-specific code out of check_name_str()
check_name_str() masks leading digits when passed enum_member=True. Only check_enum() does. Lift the masking into check_enum(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-10-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/events.py')
0 files changed, 0 insertions, 0 deletions