summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-08-22 13:29:31 -0700
committerKenneth Graunke <[email protected]>2019-09-23 20:24:54 +0000
commit8489206e9da02bfa3a69f44b2f9a516ba7d1fdee (patch)
treedd98266758e7a0aa340068217e1d972216311886 /src
parentd8cbf1adc12fe71e19c08ac6a74ce5df3ea3404f (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/genxml/gen_bits_header.py2
-rw-r--r--src/intel/genxml/gen_pack_header.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/genxml/gen_bits_header.py b/src/intel/genxml/gen_bits_header.py
index 38e9a6c74f1..3b0f9ab2f3f 100644
--- a/src/intel/genxml/gen_bits_header.py
+++ b/src/intel/genxml/gen_bits_header.py
@@ -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)
diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py
index f76ad325f03..118cc6330af 100644
--- a/src/intel/genxml/gen_pack_header.py
+++ b/src/intel/genxml/gen_pack_header.py
@@ -197,7 +197,6 @@ def to_alphanum(name):
'=': '',
'>': '',
'#': '',
- 'α': 'alpha',
'&': '',
'*': '',
'"': '',