Skip to content

Commit d4aa765

Browse files
committed
add missing #line directive to misra.py
1 parent c83bee7 commit d4aa765

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addons/misra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3918,7 +3918,7 @@ def misra_20_13(self, data):
39183918
if mo:
39193919
dir = mo.group(1)
39203920
if dir not in ['define', 'elif', 'else', 'endif', 'error', 'if', 'ifdef', 'ifndef', 'include',
3921-
'pragma', 'undef', 'warning']:
3921+
'pragma', 'undef', 'warning', 'line']:
39223922
self.reportError(directive, 20, 13)
39233923

39243924
def misra_20_14(self, data):

0 commit comments

Comments
 (0)