Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ca8e23

Browse files
authored
Merge pull request#44 from dscorbett/other_number
Treat gc=No as a subset of gc=N
2 parents52ce307 +79b6fee commit8ca8e23

File tree

2 files changed

+38
-23
lines changed

2 files changed

+38
-23
lines changed

‎scripts/unicode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
importfileinput,re,os,sys,operator
2424

25-
preamble='''// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
25+
preamble='''// Copyright 2012-2018 The Rust Project Developers. See the COPYRIGHT
2626
// file at the top-level directory of this distribution and at
2727
// http://rust-lang.org/COPYRIGHT.
2828
//
@@ -43,7 +43,7 @@
4343
'Lu': ['LC','L'],'Ll': ['LC','L'],'Lt': ['LC','L'],
4444
'Lm': ['L'],'Lo': ['L'],
4545
'Mn': ['M'],'Mc': ['M'],'Me': ['M'],
46-
'Nd': ['N'],'Nl': ['N'],'No': ['No'],
46+
'Nd': ['N'],'Nl': ['N'],'No': ['N'],
4747
'Pc': ['P'],'Pd': ['P'],'Ps': ['P'],'Pe': ['P'],
4848
'Pi': ['P'],'Pf': ['P'],'Po': ['P'],
4949
'Sm': ['S'],'Sc': ['S'],'Sk': ['S'],'So': ['S'],

‎src/tables.rs

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2012-2018 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -53,26 +53,41 @@ pub mod util {
5353

5454
mod general_category{
5555
constN_table:&'static[(char,char)] =&[
56-
('\u{30}','\u{39}'),('\u{660}','\u{669}'),('\u{6f0}','\u{6f9}'),('\u{7c0}',
57-
'\u{7c9}'),('\u{966}','\u{96f}'),('\u{9e6}','\u{9ef}'),('\u{a66}','\u{a6f}'),
58-
('\u{ae6}','\u{aef}'),('\u{b66}','\u{b6f}'),('\u{be6}','\u{bef}'),('\u{c66}',
59-
'\u{c6f}'),('\u{ce6}','\u{cef}'),('\u{d66}','\u{d6f}'),('\u{de6}','\u{def}'),
60-
('\u{e50}','\u{e59}'),('\u{ed0}','\u{ed9}'),('\u{f20}','\u{f29}'),('\u{1040}',
61-
'\u{1049}'),('\u{1090}','\u{1099}'),('\u{16ee}','\u{16f0}'),('\u{17e0}','\u{17e9}'),
62-
('\u{1810}','\u{1819}'),('\u{1946}','\u{194f}'),('\u{19d0}','\u{19d9}'),('\u{1a80}',
63-
'\u{1a89}'),('\u{1a90}','\u{1a99}'),('\u{1b50}','\u{1b59}'),('\u{1bb0}','\u{1bb9}'),
64-
('\u{1c40}','\u{1c49}'),('\u{1c50}','\u{1c59}'),('\u{2160}','\u{2182}'),('\u{2185}',
65-
'\u{2188}'),('\u{3007}','\u{3007}'),('\u{3021}','\u{3029}'),('\u{3038}','\u{303a}'),
66-
('\u{a620}','\u{a629}'),('\u{a6e6}','\u{a6ef}'),('\u{a8d0}','\u{a8d9}'),('\u{a900}',
67-
'\u{a909}'),('\u{a9d0}','\u{a9d9}'),('\u{a9f0}','\u{a9f9}'),('\u{aa50}','\u{aa59}'),
68-
('\u{abf0}','\u{abf9}'),('\u{ff10}','\u{ff19}'),('\u{10140}','\u{10174}'),
69-
('\u{10341}','\u{10341}'),('\u{1034a}','\u{1034a}'),('\u{103d1}','\u{103d5}'),
70-
('\u{104a0}','\u{104a9}'),('\u{11066}','\u{1106f}'),('\u{110f0}','\u{110f9}'),
71-
('\u{11136}','\u{1113f}'),('\u{111d0}','\u{111d9}'),('\u{112f0}','\u{112f9}'),
72-
('\u{11450}','\u{11459}'),('\u{114d0}','\u{114d9}'),('\u{11650}','\u{11659}'),
73-
('\u{116c0}','\u{116c9}'),('\u{11730}','\u{11739}'),('\u{118e0}','\u{118e9}'),
74-
('\u{11c50}','\u{11c59}'),('\u{12400}','\u{1246e}'),('\u{16a60}','\u{16a69}'),
75-
('\u{16b50}','\u{16b59}'),('\u{1d7ce}','\u{1d7ff}'),('\u{1e950}','\u{1e959}')
56+
('\u{30}','\u{39}'),('\u{b2}','\u{b3}'),('\u{b9}','\u{b9}'),('\u{bc}','\u{be}'),
57+
('\u{660}','\u{669}'),('\u{6f0}','\u{6f9}'),('\u{7c0}','\u{7c9}'),('\u{966}',
58+
'\u{96f}'),('\u{9e6}','\u{9ef}'),('\u{9f4}','\u{9f9}'),('\u{a66}','\u{a6f}'),
59+
('\u{ae6}','\u{aef}'),('\u{b66}','\u{b6f}'),('\u{b72}','\u{b77}'),('\u{be6}',
60+
'\u{bf2}'),('\u{c66}','\u{c6f}'),('\u{c78}','\u{c7e}'),('\u{ce6}','\u{cef}'),
61+
('\u{d58}','\u{d5e}'),('\u{d66}','\u{d78}'),('\u{de6}','\u{def}'),('\u{e50}',
62+
'\u{e59}'),('\u{ed0}','\u{ed9}'),('\u{f20}','\u{f33}'),('\u{1040}','\u{1049}'),
63+
('\u{1090}','\u{1099}'),('\u{1369}','\u{137c}'),('\u{16ee}','\u{16f0}'),('\u{17e0}',
64+
'\u{17e9}'),('\u{17f0}','\u{17f9}'),('\u{1810}','\u{1819}'),('\u{1946}','\u{194f}'),
65+
('\u{19d0}','\u{19da}'),('\u{1a80}','\u{1a89}'),('\u{1a90}','\u{1a99}'),('\u{1b50}',
66+
'\u{1b59}'),('\u{1bb0}','\u{1bb9}'),('\u{1c40}','\u{1c49}'),('\u{1c50}','\u{1c59}'),
67+
('\u{2070}','\u{2070}'),('\u{2074}','\u{2079}'),('\u{2080}','\u{2089}'),('\u{2150}',
68+
'\u{2182}'),('\u{2185}','\u{2189}'),('\u{2460}','\u{249b}'),('\u{24ea}','\u{24ff}'),
69+
('\u{2776}','\u{2793}'),('\u{2cfd}','\u{2cfd}'),('\u{3007}','\u{3007}'),('\u{3021}',
70+
'\u{3029}'),('\u{3038}','\u{303a}'),('\u{3192}','\u{3195}'),('\u{3220}','\u{3229}'),
71+
('\u{3248}','\u{324f}'),('\u{3251}','\u{325f}'),('\u{3280}','\u{3289}'),('\u{32b1}',
72+
'\u{32bf}'),('\u{a620}','\u{a629}'),('\u{a6e6}','\u{a6ef}'),('\u{a830}','\u{a835}'),
73+
('\u{a8d0}','\u{a8d9}'),('\u{a900}','\u{a909}'),('\u{a9d0}','\u{a9d9}'),('\u{a9f0}',
74+
'\u{a9f9}'),('\u{aa50}','\u{aa59}'),('\u{abf0}','\u{abf9}'),('\u{ff10}','\u{ff19}'),
75+
('\u{10107}','\u{10133}'),('\u{10140}','\u{10178}'),('\u{1018a}','\u{1018b}'),
76+
('\u{102e1}','\u{102fb}'),('\u{10320}','\u{10323}'),('\u{10341}','\u{10341}'),
77+
('\u{1034a}','\u{1034a}'),('\u{103d1}','\u{103d5}'),('\u{104a0}','\u{104a9}'),
78+
('\u{10858}','\u{1085f}'),('\u{10879}','\u{1087f}'),('\u{108a7}','\u{108af}'),
79+
('\u{108fb}','\u{108ff}'),('\u{10916}','\u{1091b}'),('\u{109bc}','\u{109bd}'),
80+
('\u{109c0}','\u{109cf}'),('\u{109d2}','\u{109ff}'),('\u{10a40}','\u{10a47}'),
81+
('\u{10a7d}','\u{10a7e}'),('\u{10a9d}','\u{10a9f}'),('\u{10aeb}','\u{10aef}'),
82+
('\u{10b58}','\u{10b5f}'),('\u{10b78}','\u{10b7f}'),('\u{10ba9}','\u{10baf}'),
83+
('\u{10cfa}','\u{10cff}'),('\u{10e60}','\u{10e7e}'),('\u{11052}','\u{1106f}'),
84+
('\u{110f0}','\u{110f9}'),('\u{11136}','\u{1113f}'),('\u{111d0}','\u{111d9}'),
85+
('\u{111e1}','\u{111f4}'),('\u{112f0}','\u{112f9}'),('\u{11450}','\u{11459}'),
86+
('\u{114d0}','\u{114d9}'),('\u{11650}','\u{11659}'),('\u{116c0}','\u{116c9}'),
87+
('\u{11730}','\u{1173b}'),('\u{118e0}','\u{118f2}'),('\u{11c50}','\u{11c6c}'),
88+
('\u{12400}','\u{1246e}'),('\u{16a60}','\u{16a69}'),('\u{16b50}','\u{16b59}'),
89+
('\u{16b5b}','\u{16b61}'),('\u{1d360}','\u{1d371}'),('\u{1d7ce}','\u{1d7ff}'),
90+
('\u{1e8c7}','\u{1e8cf}'),('\u{1e950}','\u{1e959}'),('\u{1f100}','\u{1f10c}')
7691
];
7792

7893
#[inline]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp