misra: generating misra table
This commit is contained in:
parent
7c6d15bb81
commit
784f2951fb
|
@ -517,7 +517,7 @@ def generateTable():
|
|||
|
||||
# what rules are handled by this addon?
|
||||
addon = []
|
||||
compiled = re.compile(r'[ ]+misra_([0-9]+)_([0-9]+)[(].*')
|
||||
compiled = re.compile(r'.*def[ ]+misra_([0-9]+)_([0-9]+)[(].*')
|
||||
for line in open(__file__):
|
||||
res = compiled.match(line)
|
||||
if res is None:
|
||||
|
|
Loading…
Reference in New Issue