misra: generating misra table

This commit is contained in:
Daniel Marjamäki 2019-06-01 15:57:19 +02:00
parent 7c6d15bb81
commit 784f2951fb
1 changed files with 1 additions and 1 deletions

View File

@ -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: