BUG: Fix `except` dict feature
This commit is contained in:
parent
6a7e571075
commit
cfd11eba92
|
@ -379,7 +379,7 @@ foreach _kop : driver_kops
|
||||||
_ext_cargs = []
|
_ext_cargs = []
|
||||||
|
|
||||||
# Check ext_mappings first
|
# Check ext_mappings first
|
||||||
if ext_mappings.has_key(ext) and (not ext_mappings.has_key('except') or base not in ext_mappings['except'])
|
if ext_mappings.has_key(ext) and not (ext_mappings[ext].has_key('except') and base in ext_mappings[ext]['except'])
|
||||||
extmap = ext_mappings[ext]
|
extmap = ext_mappings[ext]
|
||||||
if extmap.has_key('def')
|
if extmap.has_key('def')
|
||||||
foreach _d : extmap['def']
|
foreach _d : extmap['def']
|
||||||
|
|
|
@ -396,10 +396,10 @@ ext_mappings_l3 = [
|
||||||
|
|
||||||
# symm
|
# symm
|
||||||
# syrk
|
# syrk
|
||||||
{'ext': '_UN', 'def': [], 'undef': ['LOWER', 'TRANS'], 'for': ['s', 'd', 'c', 'z']},
|
{'ext': '_UN', 'def': [], 'undef': ['LOWER', 'TRANS', 'CONJ'], 'for': ['s', 'd', 'c', 'z']},
|
||||||
{'ext': '_UT', 'def': ['TRANS'], 'undef': ['LOWER'], 'for': ['s', 'd', 'c', 'z']},
|
{'ext': '_UT', 'def': ['TRANS'], 'undef': ['LOWER', 'CONJ'], 'for': ['s', 'd', 'c', 'z']},
|
||||||
{'ext': '_LN', 'def': ['LOWER'], 'undef': ['TRANS', 'CONJ'], 'for': ['s', 'd', 'c', 'z'], 'except': ['?trmm_kernel']},
|
{'ext': '_LN', 'def': ['LOWER'], 'undef': ['TRANS', 'CONJ'], 'for': ['s', 'd', 'c', 'z']},
|
||||||
{'ext': '_LT', 'def': ['TRANS', 'LOWER'], 'for': ['s', 'd', 'c', 'z'], 'except': ['?trmm_kernel']},
|
{'ext': '_LT', 'def': ['TRANS', 'LOWER'], 'undef': ['CONJ'], 'for': ['s', 'd', 'c', 'z']},
|
||||||
{'ext': '_RU', 'def': ['RSIDE', 'NC'], 'undef': ['LOWER'], 'for': ['c', 'z']},
|
{'ext': '_RU', 'def': ['RSIDE', 'NC'], 'undef': ['LOWER'], 'for': ['c', 'z']},
|
||||||
{'ext': '_RL', 'def': ['RSIDE', 'NC', 'LOWER'], 'for': ['c', 'z']},
|
{'ext': '_RL', 'def': ['RSIDE', 'NC', 'LOWER'], 'for': ['c', 'z']},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue