summaryrefslogtreecommitdiff
path: root/regen/unicode_constants.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-03-17 06:09:24 -0600
committerKarl Williamson <khw@cpan.org>2022-03-19 23:17:51 -0600
commit36327261879f8aa3b3cf2cde3bb43251392f774a (patch)
tree980e8cb88bfd739985d177a95e44e4a91865ddb5 /regen/unicode_constants.pl
parent210ad843ab44bc50a506b9ac9c6713b00b27ce44 (diff)
downloadperl-36327261879f8aa3b3cf2cde3bb43251392f774a.tar.gz
Add SMALLER THAN to paired string delimiters
This commit adds 2 pairs of symbols that are variants on SMALLER THAN. These look a lot like <>, so makes sense to make them paired delimiters.
Diffstat (limited to 'regen/unicode_constants.pl')
-rw-r--r--regen/unicode_constants.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/regen/unicode_constants.pl b/regen/unicode_constants.pl
index 205c651106..e41a021cf8 100644
--- a/regen/unicode_constants.pl
+++ b/regen/unicode_constants.pl
@@ -86,9 +86,16 @@ sub backslash_x_form($$;$) {
}
}
+# The most complicated thing this program does is generate paired string
+# delimiters from the Unicode database. Some of these come from the
+# Unicode Bidirectional (bidi) algorithm.
+
+# These all visually look like left and right delimiters
my @bidi_strong_lefts = ( 'LESS-THAN',
+ 'SMALLER THAN',
);
my @bidi_strong_rights = ( 'GREATER-THAN',
+ 'LARGER THAN',
);
# Create an array of hashes for these, so as to translate between them, and