summaryrefslogtreecommitdiff
path: root/src/sjis_prop.gperf
diff options
context:
space:
mode:
Diffstat (limited to 'src/sjis_prop.gperf')
-rw-r--r--src/sjis_prop.gperf27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/sjis_prop.gperf b/src/sjis_prop.gperf
new file mode 100644
index 0000000..2cec8cf
--- /dev/null
+++ b/src/sjis_prop.gperf
@@ -0,0 +1,27 @@
+%{
+#include <string.h>
+#include "regenc.h"
+%}
+
+struct PropertyNameCtype {
+ char *name;
+ int ctype;
+};
+
+%%
+Alpha, 1
+Blank, 2
+Cntrl, 3
+Digit, 4
+Graph, 5
+Lower, 6
+Print, 7
+Punct, 8
+Space, 9
+Upper, 10
+XDigit, 11
+Word, 12
+Alnum, 13
+ASCII, 14
+Hiragana, 15
+Katakana, 16