Compute direct type map from reverse map
This commit is contained in:
parent
abbf08646a
commit
c94d48ae7e
1 changed files with 2 additions and 13 deletions
15
data.py
15
data.py
|
|
@ -36,19 +36,6 @@ def append_reflist (a, idx, string):
|
|||
|
||||
##################################################################################
|
||||
|
||||
defTypeD = {
|
||||
'define': 'd',
|
||||
'enum': 'e',
|
||||
'enumerator': 'E',
|
||||
'function': 'f',
|
||||
'label': 'l',
|
||||
'macro': 'M',
|
||||
'member': 'm',
|
||||
'struct': 's',
|
||||
'typedef': 't',
|
||||
'union': 'u',
|
||||
'variable': 'v' }
|
||||
|
||||
defTypeR = {
|
||||
'd': 'define',
|
||||
'e': 'enum',
|
||||
|
|
@ -62,6 +49,8 @@ defTypeR = {
|
|||
'u': 'union',
|
||||
'v': 'variable' }
|
||||
|
||||
defTypeD = {v: k for k, v in defTypeR.items()}
|
||||
|
||||
##################################################################################
|
||||
|
||||
maxId = 999999999
|
||||
|
|
|
|||
Loading…
Reference in a new issue