summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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',
'&': '',
'*': '',
'"': '',