From: kosako Date: Mon, 2 May 2016 08:31:14 +0000 (+0900) Subject: add comment in unicode_property_dtaa.c X-Git-Tag: v6.0.0^2~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66d52d67bc2aa1415e768e31d13eedd84e0dc376;p=onig add comment in unicode_property_dtaa.c --- diff --git a/src/make_unicode_property_data.py b/src/make_unicode_property_data.py index bc4ffb3..9826279 100755 --- a/src/make_unicode_property_data.py +++ b/src/make_unicode_property_data.py @@ -428,8 +428,10 @@ merge_dic(DIC, dic) add_posix_props(DIC) - -print '%{' +s = '''%{ +/* Generated by make_unicode_property_data.py. */ +''' +print s for prop in POSIX_LIST: print_property(prop, DIC[prop], "POSIX [[:%s:]]" % prop) diff --git a/src/unicode_property_data.c b/src/unicode_property_data.c index bd4f056..cbbf1bb 100644 --- a/src/unicode_property_data.c +++ b/src/unicode_property_data.c @@ -31,6 +31,8 @@ +/* Generated by make_unicode_property_data.py. */ + /* PROPERTY: 'NEWLINE': POSIX [[:NEWLINE:]] */ static const OnigCodePoint diff --git a/src/unicode_property_data_posix.c b/src/unicode_property_data_posix.c index b753b2f..b1cec7e 100644 --- a/src/unicode_property_data_posix.c +++ b/src/unicode_property_data_posix.c @@ -31,6 +31,8 @@ +/* Generated by make_unicode_property_data.py. */ + /* PROPERTY: 'NEWLINE': POSIX [[:NEWLINE:]] */ static const OnigCodePoint