diff options
author | Werner Lemberg <wl@gnu.org> | 2020-09-21 09:03:13 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2020-09-21 09:21:46 +0200 |
commit | 46417607e67f89a5c9948d4deed6ad8ead51318d (patch) | |
tree | bb72ae968ed14bad7660ca4216d095beaea5e6fe | |
parent | 66978a58874169c6a4f2f984a7461e2901901784 (diff) | |
download | freetype2-46417607e67f89a5c9948d4deed6ad8ead51318d.tar.gz |
* scripts/extract_freetype_version.py: Fix regex typos.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | scripts/extract_freetype_version.py | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2020-09-21 Werner Lemberg <wl@gnu.org> + + * scripts/extract_freetype_version.py: Fix regex typos. + 2020-09-21 David Turner <david@freetype.org> Add Meson build project file. diff --git a/scripts/extract_freetype_version.py b/scripts/extract_freetype_version.py index e9ebb724c..50e5a5485 100644 --- a/scripts/extract_freetype_version.py +++ b/scripts/extract_freetype_version.py @@ -22,9 +22,9 @@ import sys # #define FREETYPE_PATCH 2 # ... -RE_MAJOR = re.compile(r"^ #define \s+ FREETYPE_MAJOR \s+ (.*) $", re.X) -RE_MINOR = re.compile(r"^ #define \s+ FREETYPE_MINOR \s+ (.*) $", re.X) -RE_PATCH = re.compile(r"^ #define \s+ FREETYPE_PATCH \s+ (.*) $", re.X) +RE_MAJOR = re.compile(r"^ \#define \s+ FREETYPE_MAJOR \s+ (.*) $", re.X) +RE_MINOR = re.compile(r"^ \#define \s+ FREETYPE_MINOR \s+ (.*) $", re.X) +RE_PATCH = re.compile(r"^ \#define \s+ FREETYPE_PATCH \s+ (.*) $", re.X) def parse_freetype_header(header): |