aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK.Kosako <kosako@sofnec.co.jp>2020-01-14 14:37:27 +0900
committerK.Kosako <kosako@sofnec.co.jp>2020-01-14 14:37:27 +0900
commit71962a8332d5aadbb445722acdf30f5a7990f2fd (patch)
tree8f87177fdca57f6f17d63478fd3d9d031a4b6d3b
parent99f4cb7f441eea1e42ac696729699ec4b1aa7b5c (diff)
downloadoniguruma-71962a8332d5aadbb445722acdf30f5a7990f2fd.zip
oniguruma-71962a8332d5aadbb445722acdf30f5a7990f2fd.tar.gz
oniguruma-71962a8332d5aadbb445722acdf30f5a7990f2fd.tar.bz2
apply changes of source gperf files
-rw-r--r--src/euc_jp_prop.c35
-rw-r--r--src/sjis_prop.c35
2 files changed, 34 insertions, 36 deletions
diff --git a/src/euc_jp_prop.c b/src/euc_jp_prop.c
index a816f48..cb884c4 100644
--- a/src/euc_jp_prop.c
+++ b/src/euc_jp_prop.c
@@ -31,8 +31,7 @@
#line 1 "euc_jp_prop.gperf"
-#include <string.h>
-#include "regenc.h"
+#include "regint.h"
#define TOTAL_KEYWORDS 16
#define MIN_WORD_LENGTH 4
@@ -89,50 +88,50 @@ onigenc_euc_jp_lookup_property_name (register const char *str, register size_t l
static struct PropertyNameCtype wordlist[] =
{
{""}, {""}, {""}, {""},
-#line 23 "euc_jp_prop.gperf"
+#line 22 "euc_jp_prop.gperf"
{"Word", 12},
-#line 12 "euc_jp_prop.gperf"
+#line 11 "euc_jp_prop.gperf"
{"Alpha", 1},
{""}, {""},
-#line 26 "euc_jp_prop.gperf"
+#line 25 "euc_jp_prop.gperf"
{"Hiragana", 15},
{""},
-#line 24 "euc_jp_prop.gperf"
+#line 23 "euc_jp_prop.gperf"
{"Alnum", 13},
{""}, {""},
-#line 27 "euc_jp_prop.gperf"
+#line 26 "euc_jp_prop.gperf"
{"Katakana", 16},
{""},
-#line 25 "euc_jp_prop.gperf"
+#line 24 "euc_jp_prop.gperf"
{"ASCII", 14},
-#line 22 "euc_jp_prop.gperf"
+#line 21 "euc_jp_prop.gperf"
{"XDigit", 11},
{""}, {""}, {""},
-#line 14 "euc_jp_prop.gperf"
+#line 13 "euc_jp_prop.gperf"
{"Cntrl", 3},
{""}, {""},
-#line 13 "euc_jp_prop.gperf"
+#line 12 "euc_jp_prop.gperf"
{"Blank", 2},
{""},
-#line 19 "euc_jp_prop.gperf"
+#line 18 "euc_jp_prop.gperf"
{"Punct", 8},
{""}, {""}, {""}, {""},
-#line 18 "euc_jp_prop.gperf"
+#line 17 "euc_jp_prop.gperf"
{"Print", 7},
{""}, {""}, {""}, {""},
-#line 21 "euc_jp_prop.gperf"
+#line 20 "euc_jp_prop.gperf"
{"Upper", 10},
{""}, {""}, {""}, {""},
-#line 20 "euc_jp_prop.gperf"
+#line 19 "euc_jp_prop.gperf"
{"Space", 9},
{""}, {""}, {""}, {""},
-#line 17 "euc_jp_prop.gperf"
+#line 16 "euc_jp_prop.gperf"
{"Lower", 6},
{""}, {""}, {""}, {""},
-#line 16 "euc_jp_prop.gperf"
+#line 15 "euc_jp_prop.gperf"
{"Graph", 5},
{""}, {""}, {""}, {""},
-#line 15 "euc_jp_prop.gperf"
+#line 14 "euc_jp_prop.gperf"
{"Digit", 4}
};
diff --git a/src/sjis_prop.c b/src/sjis_prop.c
index e33fbb2..2597a9f 100644
--- a/src/sjis_prop.c
+++ b/src/sjis_prop.c
@@ -31,8 +31,7 @@
#line 1 "sjis_prop.gperf"
-#include <string.h>
-#include "regenc.h"
+#include "regint.h"
#define TOTAL_KEYWORDS 16
#define MIN_WORD_LENGTH 4
@@ -89,50 +88,50 @@ onigenc_sjis_lookup_property_name (register const char *str, register size_t len
static struct PropertyNameCtype wordlist[] =
{
{""}, {""}, {""}, {""},
-#line 23 "sjis_prop.gperf"
+#line 22 "sjis_prop.gperf"
{"Word", 12},
-#line 12 "sjis_prop.gperf"
+#line 11 "sjis_prop.gperf"
{"Alpha", 1},
{""}, {""},
-#line 26 "sjis_prop.gperf"
+#line 25 "sjis_prop.gperf"
{"Hiragana", 15},
{""},
-#line 24 "sjis_prop.gperf"
+#line 23 "sjis_prop.gperf"
{"Alnum", 13},
{""}, {""},
-#line 27 "sjis_prop.gperf"
+#line 26 "sjis_prop.gperf"
{"Katakana", 16},
{""},
-#line 25 "sjis_prop.gperf"
+#line 24 "sjis_prop.gperf"
{"ASCII", 14},
-#line 22 "sjis_prop.gperf"
+#line 21 "sjis_prop.gperf"
{"XDigit", 11},
{""}, {""}, {""},
-#line 14 "sjis_prop.gperf"
+#line 13 "sjis_prop.gperf"
{"Cntrl", 3},
{""}, {""},
-#line 13 "sjis_prop.gperf"
+#line 12 "sjis_prop.gperf"
{"Blank", 2},
{""},
-#line 19 "sjis_prop.gperf"
+#line 18 "sjis_prop.gperf"
{"Punct", 8},
{""}, {""}, {""}, {""},
-#line 18 "sjis_prop.gperf"
+#line 17 "sjis_prop.gperf"
{"Print", 7},
{""}, {""}, {""}, {""},
-#line 21 "sjis_prop.gperf"
+#line 20 "sjis_prop.gperf"
{"Upper", 10},
{""}, {""}, {""}, {""},
-#line 20 "sjis_prop.gperf"
+#line 19 "sjis_prop.gperf"
{"Space", 9},
{""}, {""}, {""}, {""},
-#line 17 "sjis_prop.gperf"
+#line 16 "sjis_prop.gperf"
{"Lower", 6},
{""}, {""}, {""}, {""},
-#line 16 "sjis_prop.gperf"
+#line 15 "sjis_prop.gperf"
{"Graph", 5},
{""}, {""}, {""}, {""},
-#line 15 "sjis_prop.gperf"
+#line 14 "sjis_prop.gperf"
{"Digit", 4}
};