]> granicus.if.org Git - onig/blob - src/sjis_prop.gperf
add encoding argument into str_dup()
[onig] / src / sjis_prop.gperf
1 %{
2 #include <string.h>
3 #include "regenc.h"
4 %}
5
6 struct PropertyNameCtype {
7   char *name;
8   int ctype;
9 };
10
11 %%
12 Alpha,     1
13 Blank,     2
14 Cntrl,     3
15 Digit,     4
16 Graph,     5
17 Lower,     6
18 Print,     7
19 Punct,     8
20 Space,     9
21 Upper,    10
22 XDigit,   11
23 Word,     12
24 Alnum,    13
25 ASCII,    14
26 Hiragana, 15
27 Katakana, 16