]> Git Repo - qemu.git/commit
qapi: Lift enum-specific code out of check_name_str()
authorMarkus Armbruster <[email protected]>
Tue, 23 Mar 2021 09:40:06 +0000 (10:40 +0100)
committerMarkus Armbruster <[email protected]>
Tue, 23 Mar 2021 21:30:32 +0000 (22:30 +0100)
commit0825f62c842f2c07c5471391c6d7fd3f4fe83732
treee86a8c3d0c7fc41255a9bfd762ed7523d9e69e29
parent5fbc78dd3675832062894aeca89a52c90a96f954
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 <[email protected]>
Message-Id: <20210323094025.3569441[email protected]>
Reviewed-by: Eric Blake <[email protected]>
scripts/qapi/expr.py
This page took 0.025985 seconds and 4 git commands to generate.