misra 19 fix

This commit is contained in:
Daniel Marjamäki 2017-04-09 13:51:36 +02:00
parent 3a386d23af
commit a4277b7ac6
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ def misra18(data):
# STATUS: Done
def misra19(rawTokens):
for tok in rawTokens:
if re.match(r'0[0-6]+', tok.str):
if re.match(r'0[0-7]+', tok.str):
reportError(tok, 'style', '19 Octal constants shall not be used')
# Declarations and Definitions