From 77007a7ae46755bcd74f6d02a66b8ff81ce965a4 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Mon, 27 Aug 2018 10:54:11 +0900 Subject: [PATCH] rename PROPERTY_VERSION to UNICODE_PROPERTY_VERSION --- src/make_unicode_property_data.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/make_unicode_property_data.py b/src/make_unicode_property_data.py index 16b0a0c..9a48ced 100755 --- a/src/make_unicode_property_data.py +++ b/src/make_unicode_property_data.py @@ -562,9 +562,10 @@ if not(POSIX_ONLY): print '%%' print '' -if VERSION_INFO is not None: - print "#define PROPERTY_VERSION %s" % re.sub(r'[\.-]', '_', VERSION_INFO) - print '' +if not(POSIX_ONLY): + if VERSION_INFO is not None: + print "#define UNICODE_PROPERTY_VERSION %s" % re.sub(r'[\.-]', '_', VERSION_INFO) + print '' print "#define PROPERTY_NAME_MAX_SIZE %d" % (PROPERTY_NAME_MAX_LEN + 10) print "#define CODE_RANGES_NUM %d" % (index + 1) -- 2.50.1