From 7ea09ec54a45ddcb55c867c3b48e71e3c94119d6 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 18 Feb 2022 16:47:24 -0800 Subject: [PATCH] add link to remote url for file --- scripts/_common.zig | 7 ++++++- src/arabic_shaping.zig | 2 ++ src/bidi_brackets.zig | 2 ++ src/blocks.zig | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/_common.zig b/scripts/_common.zig index 359ad53cba96fd20dec9e5c25b094b50ef2268c7..215ec3e35307bb7d93c494c1dd137cc22c7eebcf 100644 --- a/scripts/_common.zig +++ b/scripts/_common.zig @@ -31,8 +31,13 @@ pub fn Main(comptime T: type) type { \\// See http://www.unicode.org/reports/tr44/ for more information. \\// \\ - \\ ); + try w.print( + \\// Based on the source file: {s} + \\// + \\ + \\ + , .{T.source_url}); try w.writeAll(T.dest_header); const req = try zfetch.Request.init(alloc, T.source_url, null); diff --git a/src/arabic_shaping.zig b/src/arabic_shaping.zig index be4bd6bbefd4621a4b6d50d8b2dbeb98289315d9..b4cf72b2a6c9dad866627838b2c8e6b2518d6538 100644 --- a/src/arabic_shaping.zig +++ b/src/arabic_shaping.zig @@ -1,6 +1,8 @@ // This file is part of the Unicode Character Database // See http://www.unicode.org/reports/tr44/ for more information. // +// Based on the source file: https://unicode.org/Public/13.0.0/ucd/ArabicShaping.txt +// pub const Shaping = struct { codepoint: u21, diff --git a/src/bidi_brackets.zig b/src/bidi_brackets.zig index 4f9bd2233456027e4f74d01de1d7306c98238551..eab7b65df34cfc9855bf51f1cbeb2ca1ce8aeb0e 100644 --- a/src/bidi_brackets.zig +++ b/src/bidi_brackets.zig @@ -1,6 +1,8 @@ // This file is part of the Unicode Character Database // See http://www.unicode.org/reports/tr44/ for more information. // +// Based on the source file: https://unicode.org/Public/13.0.0/ucd/BidiBrackets.txt +// pub const BracketPairing = struct { codepoint: u21, diff --git a/src/blocks.zig b/src/blocks.zig index 64bb72852381ab76fa28b3922823ce233766bfdd..29c5b4bb5d658486efae7926cc4ae69968fb1351 100644 --- a/src/blocks.zig +++ b/src/blocks.zig @@ -1,6 +1,8 @@ // This file is part of the Unicode Character Database // See http://www.unicode.org/reports/tr44/ for more information. // +// Based on the source file: https://unicode.org/Public/13.0.0/ucd/Blocks.txt +// pub const Block = struct { from: u21, -- 2.54.0