/[pcre]/code/trunk/pcretest.c
ViewVC logotype

Diff of /code/trunk/pcretest.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1153 by chpe, Sun Oct 21 16:53:57 2012 UTC revision 1164 by ph10, Tue Oct 23 11:12:17 2012 UTC
# Line 4752  while (!done) Line 4752  while (!done)
4752            {            {
4753            if (c > 0x10ffffu)            if (c > 0x10ffffu)
4754              {              {
4755              fprintf(outfile, "**Failed: character value greater than 0x10ffff "              fprintf(outfile, "** Failed: character \\x{%x} is greater than "
4756                "cannot be converted to UTF-16\n");                "0x10ffff and so cannot be converted to UTF-16\n", c);
4757              goto NEXT_DATA;              goto NEXT_DATA;
4758              }              }
4759            else if (c >= 0x10000u)            else if (c >= 0x10000u)
# Line 4770  while (!done) Line 4770  while (!done)
4770            {            {
4771            if (c > 0xffffu)            if (c > 0xffffu)
4772              {              {
4773              fprintf(outfile, "** Character value is greater than 0xffff "              fprintf(outfile, "** Character \\x{%x} is greater than 0xffff "
4774                "and UTF-16 mode is not enabled.\n");                "and UTF-16 mode is not enabled.\n", c);
4775              fprintf(outfile, "** Truncation will probably give the wrong "              fprintf(outfile, "** Truncation will probably give the wrong "
4776                "result.\n");                "result.\n");
4777              }              }

Legend:
Removed from v.1153  
changed lines
  Added in v.1164

  ViewVC Help
Powered by ViewVC 1.1.5