summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/regex1.c2
-rw-r--r--examples/regex2.c2
-rw-r--r--examples/regex_match.c2
-rw-r--r--src/utf8code.c (renamed from src/utf8utils.c)0
-rw-r--r--src/utf8tabs.c1
-rw-r--r--src/utf8tabs.py2
6 files changed, 5 insertions, 4 deletions
diff --git a/examples/regex1.c b/examples/regex1.c
index 84a5e28b..919bfd66 100644
--- a/examples/regex1.c
+++ b/examples/regex1.c
@@ -31,4 +31,4 @@ int main(int argc, char* argv[])
}
#include "../src/cregex.c"
-#include "../src/utf8utils.c"
+#include "../src/utf8code.c"
diff --git a/examples/regex2.c b/examples/regex2.c
index 19c49ec2..c98c2e21 100644
--- a/examples/regex2.c
+++ b/examples/regex2.c
@@ -34,4 +34,4 @@ int main()
}
#include "../src/cregex.c"
-#include "../src/utf8utils.c"
+#include "../src/utf8code.c"
diff --git a/examples/regex_match.c b/examples/regex_match.c
index c2499733..4bb8bee5 100644
--- a/examples/regex_match.c
+++ b/examples/regex_match.c
@@ -29,4 +29,4 @@ int main()
}
#include "../src/cregex.c"
-#include "../src/utf8utils.c"
+#include "../src/utf8code.c"
diff --git a/src/utf8utils.c b/src/utf8code.c
index 3b01ae39..3b01ae39 100644
--- a/src/utf8utils.c
+++ b/src/utf8code.c
diff --git a/src/utf8tabs.c b/src/utf8tabs.c
index 8168f78f..eccf0496 100644
--- a/src/utf8tabs.c
+++ b/src/utf8tabs.c
@@ -45,6 +45,7 @@ struct CaseFold casefold[] = {
{42948, 42948, 42900}, {42949, 42949, 642}, {42950, 42950, 7566}, {42951, 42953, 42954},
{42960, 42962, 42963}, {42968, 42970, 42971}, {43888, 43913, 5049}, {65313, 65338, 65370},
}; // 188
+
uint8_t cfold_low[] = {
0, 138, 10, 111, 2, 139, 3, 8, 4, 5, 6, 7, 9, 59, 12, 14, 16, 20, 49, 25,
56, 52, 29, 31, 33, 35, 37, 39, 50, 40, 41, 42, 43, 44, 45, 17, 46, 47, 48, 51,
diff --git a/src/utf8tabs.py b/src/utf8tabs.py
index 563180e3..9870e181 100644
--- a/src/utf8tabs.py
+++ b/src/utf8tabs.py
@@ -113,7 +113,7 @@ struct CaseFold casefold[] = {''')
print('')
count += 1
n += 1
- print('\n}; // %d' % (count))
+ print('\n}; // %d\n' % (count))
return table