misra 19 fix
This commit is contained in:
parent
3a386d23af
commit
a4277b7ac6
|
@ -181,7 +181,7 @@ def misra18(data):
|
||||||
# STATUS: Done
|
# STATUS: Done
|
||||||
def misra19(rawTokens):
|
def misra19(rawTokens):
|
||||||
for tok in 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')
|
reportError(tok, 'style', '19 Octal constants shall not be used')
|
||||||
|
|
||||||
# Declarations and Definitions
|
# Declarations and Definitions
|
||||||
|
|
Loading…
Reference in New Issue