gh-90110: Update the c-analyzer Tool (gh-96058)

This commit is contained in:
Eric Snow 2022-08-17 16:54:59 -06:00 committed by GitHub
parent 5aac85101b
commit 586fc02be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 8 deletions

View file

@ -9,7 +9,11 @@ from ._regexes import (
def log_match(group, m):
from . import _logger
_logger.debug(f'matched <{group}> ({m.group(0)})')
text = m.group(0)
if text.startswith(('(', ')')) or text.endswith(('(', ')')):
_logger.debug(f'matched <{group}> ({text!r})')
else:
_logger.debug(f'matched <{group}> ({text})')
#############################