shithub: freetype+ttf2subf

Download patch

ref: 8cc4d0dc32a1f8734e77266bb6abdd11f18a631c
parent: 56c610b145212b7acfb24a17e86fc0ba15aa3052
author: Werner Lemberg <[email protected]>
date: Tue Dec 1 03:48:28 EST 2020

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-01  Werner Lemberg  <[email protected]>
+
+	* src/tools/chktrcmp.py (trace_use_pat): Update to current use.
+
 2020-11-20  Alexei Podtelezhnikov  <[email protected]>
 
 	[cff,cid,type1] Demote old engine for lack of CFF2.
--- 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 @@
 #
 
 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 ):