We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98d19b commit 4d160cfCopy full SHA for 4d160cf
1 file changed
addons/misra.py
@@ -3501,7 +3501,7 @@ def misra_17_3(self, cfg):
3501
# this is a function pointer definition the tokens look like this int16_t ( * misra_8_2_p_a ) ()
3502
# and the int16_t causes the detection as the '(' follows
3503
continue
3504
- if not isKeyword(token.str) and not isStdLibId(token.str,cfg.standards.c):
+ if not isKeyword(token.str,cfg.standards.c) and not isStdLibId(token.str,cfg.standards.c):
3505
self.reportError(token, 17, 3)
3506
3507
def misra_config(self, data):
0 commit comments