From: K.Kosako Date: Mon, 27 Aug 2018 01:54:11 +0000 (+0900) Subject: rename PROPERTY_VERSION to UNICODE_PROPERTY_VERSION X-Git-Tag: v6.9.0~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77007a7ae46755bcd74f6d02a66b8ff81ce965a4;p=onig rename PROPERTY_VERSION to UNICODE_PROPERTY_VERSION --- 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)