Misra: improve misra.py (#3343)
This commit is contained in:
parent
5440af672e
commit
2d57f60225
|
@ -3384,7 +3384,7 @@ class MisraChecker:
|
|||
elif len(self.ruleTexts) == 0:
|
||||
errmsg = 'misra violation (use --rule-texts=<file> to get proper output)'
|
||||
else:
|
||||
return
|
||||
errmsg = 'misra violation %s with no text in the supplied rule-texts-file' % (ruleNum)
|
||||
|
||||
if self.severity:
|
||||
cppcheck_severity = self.severity
|
||||
|
@ -3842,10 +3842,12 @@ Format:
|
|||
|
||||
<..arbitrary text..>
|
||||
Appendix A Summary of guidelines
|
||||
Rule 1.1
|
||||
Rule 1.1 Required
|
||||
Rule text for 1.1
|
||||
Rule 1.2
|
||||
continuation of rule text for 1.1
|
||||
Rule 1.2 Mandatory
|
||||
Rule text for 1.2
|
||||
continuation of rule text for 1.2
|
||||
<...>
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue