* scripts/extract_freetype_version.py: Fix regex typos.
This commit is contained in:
parent
66978a5887
commit
46417607e6
@ -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.
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user