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:
Alyssa Rosenzweig
2023-06-06 18:56:05 -04:00
committed by Marge Bot
parent 850380cbf5
commit 75b5bf8dbc
+1
View File
@@ -143,6 +143,7 @@ def to_alphanum(name):
'"': '',
'+': '',
'\'': '',
'?': '',
}
for i, j in substitutions.items():