aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-03-23 10:40:06 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-03-23 22:30:32 +0100
commit0825f62c842f2c07c5471391c6d7fd3f4fe83732 (patch)
treee86a8c3d0c7fc41255a9bfd762ed7523d9e69e29 /scripts/qapi/parser.py
parent5fbc78dd3675832062894aeca89a52c90a96f954 (diff)
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/parser.py')
0 files changed, 0 insertions, 0 deletions