diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-11 20:27:03 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-11 20:27:03 +0000 |
commit | fd5db157a2356f859e77744c4ea82fbe8aa17183 (patch) | |
tree | 8211fa9eb9550cb1a93b36fe77f6b91426dae79f /pcretest.c | |
parent | b330e2d8210c08dfc4c99e71b477a020cb7e29fe (diff) | |
download | pcre-fd5db157a2356f859e77744c4ea82fbe8aa17183.tar.gz |
File tidies, preparing for 8.32-RC1.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1221 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcretest.c')
-rw-r--r-- | pcretest.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. ----------------------------------------------------------------------------- */ -/* 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 32-bit PCRE libraries in a single program. This is different from the modules such as pcre_compile.c in the library itself, which are compiled separately for each mode. If two modes are enabled, for example, pcre_compile.c is compiled @@ -288,8 +288,8 @@ argument, the casting might be incorrectly applied. */ #define PCRE_JIT_STACK_FREE8(stack) \ pcre_jit_stack_free(stack) - -#define pcre8_maketables pcre_maketables + +#define pcre8_maketables pcre_maketables #endif /* SUPPORT_PCRE8 */ @@ -1131,7 +1131,7 @@ static const char *errtexts[] = { "pattern compiled with other endianness", "invalid data in workspace for DFA restart", "bad JIT option", - "bad length" + "bad length" }; @@ -4721,7 +4721,7 @@ while (!done) continue; } - /* 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. In 8-bit mode we convert to UTF-8 if we are in UTF mode. Values greater than 127 in UTF mode must have come from \x{...} or octal constructs because values from \x.. get this far only in non-UTF mode. */ @@ -4736,8 +4736,8 @@ while (!done) { fprintf(outfile, "** Character \\x{%x} is greater than 0x7fffffff " "and so cannot be converted to UTF-8\n", c); - goto NEXT_DATA; - } + goto NEXT_DATA; + } q8 += ord2utf8(c, q8); } else |