summaryrefslogtreecommitdiff
path: root/src/make_unicode_fold_data.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 16:55:14 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 16:55:14 +0100
commit7bd40e53626a0ec5621fc5b71cfaf5956b4e6ba9 (patch)
tree4c62db42cffb80511f26e1168a6f54aba5815422 /src/make_unicode_fold_data.py
parent4fdc47601d9e68343fa6818beda4c6a2012baccd (diff)
parent98ab313fe496ae7c792db29c80bf6b23347484ff (diff)
Update upstream source from tag 'upstream/6.7.0'
Update to upstream version '6.7.0' with Debian dir 14acc711c745d23b05fab9587ac8849fefa02c06
Diffstat (limited to 'src/make_unicode_fold_data.py')
-rwxr-xr-xsrc/make_unicode_fold_data.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/make_unicode_fold_data.py b/src/make_unicode_fold_data.py
index f4ad321..64aa3a2 100755
--- a/src/make_unicode_fold_data.py
+++ b/src/make_unicode_fold_data.py
@@ -250,8 +250,8 @@ def output_gperf_unfold_key(f):
%}
struct ByUnfoldKey {
OnigCodePoint code;
- int index;
- int fold_len;
+ short int index;
+ short int fold_len;
};
%%
"""
@@ -272,7 +272,7 @@ def output_gperf_fold_key(f, key_len):
#include <string.h>
#include "regenc.h"
%}
-int
+short int
%%
"""
f.write(head)