Modified misra.py to fix issue introduced during last change (#1101)
Added additional elif confition to cause error checks to ignore .dump files Previous change meant that .dump always falls into else statement and script exits
This commit is contained in:
parent
17b5083f3f
commit
589cc6049d
|
@ -1119,6 +1119,8 @@ for arg in sys.argv[1:]:
|
|||
loadRuleTexts(filename)
|
||||
elif arg.startswith('--misra-pdf='):
|
||||
loadRuleTextsFromPdf(arg[12:])
|
||||
elif ".dump" in arg:
|
||||
continue
|
||||
else:
|
||||
print('Fatal error: unhandled argument ' + arg)
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in New Issue