* src/tools/chktrcmp.py (trace_use_pat): Update to current use.

This commit is contained in:
Werner Lemberg 2020-12-01 08:48:28 +01:00
parent 56c610b145
commit 8cc4d0dc32
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2020-12-01 Werner Lemberg <wl@gnu.org>
* src/tools/chktrcmp.py (trace_use_pat): Update to current use.
2020-11-20 Alexei Podtelezhnikov <apodtele@gmail.com>
[cff,cid,type1] Demote old engine for lack of CFF2.

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
#
# Check trace components in FreeType 2 source.
# Author: suzuki toshiya, 2009, 2013
# Author: suzuki toshiya, 2009, 2013, 2020
#
# This code is explicitly into the public domain.
@ -50,7 +50,7 @@ for i in range( 1, len( sys.argv ) ):
#
c_pathname_pat = re.compile( '^.*\.[ch]$', re.IGNORECASE )
trace_use_pat = re.compile( '^[ \t]*#define[ \t]+FT_COMPONENT[ \t]+trace_' )
trace_use_pat = re.compile( '^[ \t]*#define[ \t]+FT_COMPONENT[ \t]+' )
for d in SRC_FILE_DIRS:
for ( p, dlst, flst ) in os.walk( d ):