(self, rawTokens)
| 2058 | self.reportError(token, 7, 2) |
| 2059 | |
| 2060 | def misra_7_3(self, rawTokens): |
| 2061 | # Match decimal digits, hex digits, decimal point, and e/E p/P floating |
| 2062 | # point constant exponent separators. |
| 2063 | compiled = re.compile(r'^(0[xX])?[0-9a-fA-FpP.]+[Uu]*l+[Uu]*$') |
| 2064 | for tok in rawTokens: |
| 2065 | if compiled.match(tok.str): |
| 2066 | self.reportError(tok, 7, 3) |
| 2067 | |
| 2068 | def misra_7_4(self, data): |
| 2069 | # A string literal shall not be assigned to an object unless the object's type |
nothing calls this directly
no test coverage detected