Commit 8cc4d0dc32a1f8734e77266bb6abdd11f18a631c

Werner Lemberg 2020-12-01T08:48:28

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

diff --git a/ChangeLog b/ChangeLog
index 60eee3c..af2f0ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/src/tools/chktrcmp.py b/src/tools/chktrcmp.py
index 4c40bda..244a24a 100755
--- a/src/tools/chktrcmp.py
+++ b/src/tools/chktrcmp.py
@@ -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 ):