mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 20:40:39 +01:00
intel/genxml: Stop manually scrubbing 'α' -> "alpha"
'α' has never appeared in any genxml files, so there's no need to replace it with the word "alpha". Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
d8cbf1adc1
commit
8489206e9d
2 changed files with 1 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ ${emit_per_gen_prop_func(field, 'start')}
|
|||
alphanum_nono = re.compile(r'[ /\[\]()\-:.,=>#&*"+\\]+')
|
||||
def to_alphanum(name):
|
||||
global alphanum_nono
|
||||
return alphanum_nono.sub('', name).replace('α', 'alpha')
|
||||
return alphanum_nono.sub('', name)
|
||||
|
||||
def safe_name(name):
|
||||
name = to_alphanum(name)
|
||||
|
|
|
|||
|
|
@ -197,7 +197,6 @@ def to_alphanum(name):
|
|||
'=': '',
|
||||
'>': '',
|
||||
'#': '',
|
||||
'α': 'alpha',
|
||||
'&': '',
|
||||
'*': '',
|
||||
'"': '',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue