diff options
author | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-10-16 15:48:03 +0000 |
---|---|---|
committer | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-10-16 15:48:03 +0000 |
commit | 6f209d5f91b2eaaedefbbd9093f992e13cdf2d98 (patch) | |
tree | 8af9d0abddc74d901ded0b86514d9db2629dd152 /pcre_tables.c | |
parent | 8fcc1628b61893fa9719c1f8ae8a032494b98946 (diff) | |
download | pcre-6f209d5f91b2eaaedefbbd9093f992e13cdf2d98.tar.gz |
Support OP_ANYBYTE in JIT when utf8 is disabled and optimizing utf8 character length computation
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@736 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_tables.c')
-rw-r--r-- | pcre_tables.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/pcre_tables.c b/pcre_tables.c index ab12b48..45c2211 100644 --- a/pcre_tables.c +++ b/pcre_tables.c @@ -88,25 +88,15 @@ const uschar _pcre_utf8_table4[] = { 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 }; #ifdef SUPPORT_JIT -/* Full table of the number of extra bytes. See _pcre_utf8_table4 above. */ +/* Full table of the number of extra bytes when the +character code is greater or equal than 0xc0. +See _pcre_utf8_table4 above. */ const uschar _pcre_utf8_char_sizes[] = { 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, - 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5, + 3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4, }; #endif |