summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xsrc/tools/chktrcmp.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 60eee3c33..af2f0ec99 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 4c40bdafd..244a24a6c 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 ):