diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 16:46:11 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 16:46:11 +0100 |
commit | 5587db012cd0e8f69f811e8959a861112904136a (patch) | |
tree | 19472bb8b64980a43e99340ba899cd442a824445 /src/gperf_fold_key_conv.py | |
parent | fa131e9ad996d099bb48a3b1302e4a3b3c0f03bd (diff) | |
parent | 4bf99bd2fb7b6bde65a11dfce43ed399ecb10ccd (diff) |
Merge branch 'release/6.7.0-1'6.7.0-1
Diffstat (limited to 'src/gperf_fold_key_conv.py')
-rwxr-xr-x | src/gperf_fold_key_conv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gperf_fold_key_conv.py b/src/gperf_fold_key_conv.py index 5267aa4..59c5de9 100755 --- a/src/gperf_fold_key_conv.py +++ b/src/gperf_fold_key_conv.py @@ -9,7 +9,7 @@ import re REG_LINE_GPERF = re.compile('#line .+gperf"') REG_HASH_FUNC = re.compile('hash\s*\(register\s+const\s+char\s*\*\s*str,\s*register\s+unsigned\s+int\s+len\s*\)') REG_STR_AT = re.compile('str\[(\d+)\]') -REG_RETURN_TYPE = re.compile('^const\s+int\s*\*') +REG_RETURN_TYPE = re.compile('^const\s+short\s+int\s*\*') REG_FOLD_KEY = re.compile('unicode_fold(\d)_key\s*\(register\s+const\s+char\s*\*\s*str,\s*register\s+unsigned\s+int\s+len\)') REG_ENTRY = re.compile('\{".*?",\s*(-?\d+)\s*\}') REG_IF_LEN = re.compile('if\s*\(\s*len\s*<=\s*MAX_WORD_LENGTH.+') |