aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorletouzey2008-12-15 16:11:22 +0000
committerletouzey2008-12-15 16:11:22 +0000
commit2e2c6babd99ee297967d2b292bc6afe572d32e86 (patch)
tree7c205cc51328da71db710597a26d2a0d87e3f4f3
parent00f4bccb582e0007f7878294b40fd1e8217676b5 (diff)
Add some unicode symbols from japanese CJC (request by Y. Regis-Gianas)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11683 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--lib/util.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml
index e18a751525..b0e66af05b 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -242,6 +242,8 @@ let classify_unicode unicode =
end
| _ ->
begin match unicode with
+ (* utf-8 CJC Symbols and Punctuation *)
+ | x when 0x3008 <= x & x <= 0x3020 -> UnicodeSymbol
(* utf-8 Hiragana U3040-309F and Katakana U30A0-30FF *)
| x when 0x3040 <= x & x <= 0x30FF -> UnicodeLetter
(* utf-8 Unified CJK Ideographs U4E00-9FA5 *)