/[pcre]/code/branches/pcre16/pcretest.c
ViewVC logotype

Diff of /code/branches/pcre16/pcretest.c

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

revision 225 by ph10, Thu Aug 9 09:52:43 2007 UTC revision 226 by ph10, Tue Aug 21 11:46:08 2007 UTC
# Line 1357  while (!done) Line 1357  while (!done)
1357  #if !defined NOINFOCHECK  #if !defined NOINFOCHECK
1358        int old_first_char, old_options, old_count;        int old_first_char, old_options, old_count;
1359  #endif  #endif
1360        int count, backrefmax, first_char, need_char, okpartial, jchanged;        int count, backrefmax, first_char, need_char, okpartial, jchanged,
1361            hascrorlf;
1362        int nameentrysize, namecount;        int nameentrysize, namecount;
1363        const uschar *nametable;        const uschar *nametable;
1364    
# Line 1372  while (!done) Line 1373  while (!done)
1373        new_info(re, NULL, PCRE_INFO_NAMETABLE, (void *)&nametable);        new_info(re, NULL, PCRE_INFO_NAMETABLE, (void *)&nametable);
1374        new_info(re, NULL, PCRE_INFO_OKPARTIAL, &okpartial);        new_info(re, NULL, PCRE_INFO_OKPARTIAL, &okpartial);
1375        new_info(re, NULL, PCRE_INFO_JCHANGED, &jchanged);        new_info(re, NULL, PCRE_INFO_JCHANGED, &jchanged);
1376          new_info(re, NULL, PCRE_INFO_HASCRORLF, &hascrorlf);
1377    
1378  #if !defined NOINFOCHECK  #if !defined NOINFOCHECK
1379        old_count = pcre_info(re, &old_options, &old_first_char);        old_count = pcre_info(re, &old_options, &old_first_char);
# Line 1414  while (!done) Line 1416  while (!done)
1416          }          }
1417    
1418        if (!okpartial) fprintf(outfile, "Partial matching not supported\n");        if (!okpartial) fprintf(outfile, "Partial matching not supported\n");
1419          if (hascrorlf) fprintf(outfile, "Contains explicit CR or LF match\n");
1420    
1421        all_options = ((real_pcre *)re)->options;        all_options = ((real_pcre *)re)->options;
1422        if (do_flip) all_options = byteflip(all_options, sizeof(all_options));        if (do_flip) all_options = byteflip(all_options, sizeof(all_options));

Legend:
Removed from v.225  
changed lines
  Added in v.226

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12