asahi: Strip ? in GenXML
Sometimes it's nice to have boolean flags with ? in the name, allow this by stripping ? when generating the sanitized C name. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23998>
This commit is contained in:
committed by
Marge Bot
parent
850380cbf5
commit
75b5bf8dbc
@@ -143,6 +143,7 @@ def to_alphanum(name):
|
||||
'"': '',
|
||||
'+': '',
|
||||
'\'': '',
|
||||
'?': '',
|
||||
}
|
||||
|
||||
for i, j in substitutions.items():
|
||||
|
||||
Reference in New Issue
Block a user