pcre: ensure we aren't using 16 or 32 bit pcre because that's not tested

db4
Björn Lindqvist 2013-11-10 05:55:19 +01:00 committed by John Benediktsson
parent ecf573995e
commit d3e2d64d5b
2 changed files with 10 additions and 0 deletions

View File

@ -132,6 +132,10 @@ CONSTANT: PCRE_CONFIG_STACKRECURSE 5
CONSTANT: PCRE_CONFIG_UNICODE_PROPERTIES 6
CONSTANT: PCRE_CONFIG_MATCH_LIMIT_RECURSION 7
CONSTANT: PCRE_CONFIG_BSR 8
CONSTANT: PCRE_CONFIG_JIT 9
CONSTANT: PCRE_CONFIG_UTF16 10
CONSTANT: PCRE_CONFIG_JITTARGET 11
CONSTANT: PCRE_CONFIG_UTF32 12
STRUCT: pcre_extra
@ -187,3 +191,5 @@ FUNCTION: int pcre_get_substring_list ( c-string subject,
FUNCTION: c-string pcre_version ( ) ;
FUNCTION: uchar* pcre_maketables ( ) ;
FUNCTION: void pcre_free ( void* pcre ) ;

View File

@ -35,6 +35,10 @@ os unix? [ [ 10 ] [ PCRE_CONFIG_NEWLINE config ] unit-test ] when
[ 1 ] [ PCRE_CONFIG_UNICODE_PROPERTIES config ] unit-test
! libpcre must not support 16 or 32 bit code points.
[ 0 ] [ PCRE_CONFIG_UTF16 config ] unit-test
[ 0 ] [ PCRE_CONFIG_UTF32 config ] unit-test
! Tests for findall
[
{ { f "1999-01-12" } { "year" "1999" } { "month" "01" } { "day" "12" } }