(token, severity, msg, id)
| 16 | VERIFY_ACTUAL = [] |
| 17 | |
| 18 | def reportError(token, severity, msg, id): |
| 19 | if id == 'debug' and not DEBUG: |
| 20 | return |
| 21 | if VERIFY: |
| 22 | VERIFY_ACTUAL.append(str(token.linenr) + ':' + id) |
| 23 | else: |
| 24 | cppcheckdata.reportError(token, severity, msg, 'misc', id) |
| 25 | |
| 26 | def simpleMatch(token, pattern): |
| 27 | return cppcheckdata.simpleMatch(token, pattern) |
no test coverage detected