diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 15:23:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 15:23:08 +0000 |
commit | aa0b3fe4d1e972a27d730f62e45bf2158a05480e (patch) | |
tree | 9e668d7dd60a650e3c2ced8a1d80980af6c449cc /myctype.c | |
parent | [w3m-dev 02647] (diff) | |
download | w3m-aa0b3fe4d1e972a27d730f62e45bf2158a05480e.tar.gz w3m-aa0b3fe4d1e972a27d730f62e45bf2158a05480e.zip |
[w3m-dev 02441] A patch against functions *_(un)?quote()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'myctype.c')
-rw-r--r-- | myctype.c | 43 |
1 files changed, 42 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: myctype.c,v 1.4 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: myctype.c,v 1.5 2001/12/10 15:23:08 ukai Exp $ */ unsigned char MYCTYPE_MAP[0x100] = { /* NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 1, 1, @@ -27,6 +27,47 @@ unsigned char MYCTYPE_MAP[0x100] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; +unsigned char MYCTYPE_DIGITMAP[0x100] = { + /* NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI */ + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + /* DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US */ + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + /* SPC ! " # $ % & ' ( ) * + , - . / */ + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + /* 0 1 2 3 4 5 6 7 8 9 : ; < = > ? */ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, 255, 255, 255, 255, + /* @ A B C D E F G H I J K L M N O */ + 255, 10, 11, 12, 13, 14, 15, 255, 255, 255, 255, 255, 255, 255, 255, 255, + /* P Q R S T U V W X Y Z [ \ ] ^ _ */ + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + /* ` a b c d e f g h i j k l m n o */ + 255, 10, 11, 12, 13, 14, 15, 255, 255, 255, 255, 255, 255, 255, 255, 255, + /* p q r s t u v w x y z { | } ~ DEL */ + + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, +}; + unsigned char INTCTYPE_MAP[0x100] = { |