mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-05 06:28:17 +02:00
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:
parent
850380cbf5
commit
75b5bf8dbc
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ def to_alphanum(name):
|
|||
'"': '',
|
||||
'+': '',
|
||||
'\'': '',
|
||||
'?': '',
|
||||
}
|
||||
|
||||
for i, j in substitutions.items():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue