Skip to content
Snippets Groups Projects
Commit e744708a authored by Markus Armbruster's avatar Markus Armbruster
Browse files

qapi: Enforce feature naming rules


Feature names should use '-', not '_'.  Enforce this.

Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-24-armbru@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
parent 9af4b6b9
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ def check_features(features, info):
check_keys(f, info, source, ['name'], ['if'])
check_name_is_str(f['name'], info, source)
source = "%s '%s'" % (source, f['name'])
check_name_lower(f['name'], info, source, permit_underscore=True)
check_name_lower(f['name'], info, source)
check_if(f, info, source)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment