From 66d52d67bc2aa1415e768e31d13eedd84e0dc376 Mon Sep 17 00:00:00 2001 From: kosako Date: Mon, 2 May 2016 17:31:14 +0900 Subject: [PATCH] add comment in unicode_property_dtaa.c --- src/make_unicode_property_data.py | 6 ++++-- src/unicode_property_data.c | 2 ++ src/unicode_property_data_posix.c | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.40.0