36 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
37 |
*/ |
*/ |
38 |
|
|
39 |
/* This program now supports the testing of all of the 8-bit, 16-bit, and |
/* This program now supports the testing of all of the 8-bit, 16-bit, and |
40 |
32-bit PCRE libraries in a single program. This is different from the modules |
32-bit PCRE libraries in a single program. This is different from the modules |
41 |
such as pcre_compile.c in the library itself, which are compiled separately for |
such as pcre_compile.c in the library itself, which are compiled separately for |
42 |
each mode. If two modes are enabled, for example, pcre_compile.c is compiled |
each mode. If two modes are enabled, for example, pcre_compile.c is compiled |
288 |
|
|
289 |
#define PCRE_JIT_STACK_FREE8(stack) \ |
#define PCRE_JIT_STACK_FREE8(stack) \ |
290 |
pcre_jit_stack_free(stack) |
pcre_jit_stack_free(stack) |
291 |
|
|
292 |
#define pcre8_maketables pcre_maketables |
#define pcre8_maketables pcre_maketables |
293 |
|
|
294 |
#endif /* SUPPORT_PCRE8 */ |
#endif /* SUPPORT_PCRE8 */ |
295 |
|
|
1131 |
"pattern compiled with other endianness", |
"pattern compiled with other endianness", |
1132 |
"invalid data in workspace for DFA restart", |
"invalid data in workspace for DFA restart", |
1133 |
"bad JIT option", |
"bad JIT option", |
1134 |
"bad length" |
"bad length" |
1135 |
}; |
}; |
1136 |
|
|
1137 |
|
|
4721 |
continue; |
continue; |
4722 |
} |
} |
4723 |
|
|
4724 |
/* We now have a character value in c that may be greater than 255. |
/* We now have a character value in c that may be greater than 255. |
4725 |
In 8-bit mode we convert to UTF-8 if we are in UTF mode. Values greater |
In 8-bit mode we convert to UTF-8 if we are in UTF mode. Values greater |
4726 |
than 127 in UTF mode must have come from \x{...} or octal constructs |
than 127 in UTF mode must have come from \x{...} or octal constructs |
4727 |
because values from \x.. get this far only in non-UTF mode. */ |
because values from \x.. get this far only in non-UTF mode. */ |
4736 |
{ |
{ |
4737 |
fprintf(outfile, "** Character \\x{%x} is greater than 0x7fffffff " |
fprintf(outfile, "** Character \\x{%x} is greater than 0x7fffffff " |
4738 |
"and so cannot be converted to UTF-8\n", c); |
"and so cannot be converted to UTF-8\n", c); |
4739 |
goto NEXT_DATA; |
goto NEXT_DATA; |
4740 |
} |
} |
4741 |
q8 += ord2utf8(c, q8); |
q8 += ord2utf8(c, q8); |
4742 |
} |
} |
4743 |
else |
else |