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?
|
# what rules are handled by this addon?
|
||||||
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__):
|
for line in open(__file__):
|
||||||
res = compiled.match(line)
|
res = compiled.match(line)
|
||||||
if res is None:
|
if res is None:
|
||||||
|
|
Loading…
Reference in New Issue