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:
Kenneth Graunke 2019-08-22 13:29:31 -07:00
parent d8cbf1adc1
commit 8489206e9d
2 changed files with 1 additions and 2 deletions

View file

@ -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)

View file

@ -197,7 +197,6 @@ def to_alphanum(name):
'=': '',
'>': '',
'#': '',
'α': 'alpha',
'&': '',
'*': '',
'"': '',