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

Diff of /code/trunk/pcre_jit_test.c

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

revision 977 by zherczeg, Sun Jun 17 06:20:52 2012 UTC revision 993 by zherczeg, Tue Jul 10 04:33:00 2012 UTC
# Line 592  static struct regression_test_case regre Line 592  static struct regression_test_case regre
592          { PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_CRLF | PCRE_FIRSTLINE, 0 | F_NOMATCH, "ba", "bbb\r\nba" },          { PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_CRLF | PCRE_FIRSTLINE, 0 | F_NOMATCH, "ba", "bbb\r\nba" },
593          { PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_CRLF | PCRE_FIRSTLINE, 0 | F_NOMATCH | F_PROPERTY, "\\p{Any}{4}|a", "\r\na" },          { PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_CRLF | PCRE_FIRSTLINE, 0 | F_NOMATCH | F_PROPERTY, "\\p{Any}{4}|a", "\r\na" },
594          { PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_CRLF | PCRE_FIRSTLINE, 1, ".", "\r\n" },          { PCRE_MULTILINE | PCRE_UTF8 | PCRE_NEWLINE_CRLF | PCRE_FIRSTLINE, 1, ".", "\r\n" },
595            { PCRE_FIRSTLINE | PCRE_NEWLINE_LF | PCRE_DOTALL, 0 | F_NOMATCH, "ab.", "ab" },
596    
597          /* Recurse. */          /* Recurse. */
598          { MUA, 0, "(a)(?1)", "aa" },          { MUA, 0, "(a)(?1)", "aa" },
# Line 992  static int regression_tests(void) Line 993  static int regression_tests(void)
993                                  pcre_free(re8);                                  pcre_free(re8);
994                                  re8 = NULL;                                  re8 = NULL;
995                          }                          }
996                          if (!(extra8->flags & PCRE_EXTRA_EXECUTABLE_JIT)) {                          else if (!(extra8->flags & PCRE_EXTRA_EXECUTABLE_JIT)) {
997                                  printf("\n8 bit: JIT compiler does not support: %s\n", current->pattern);                                  printf("\n8 bit: JIT compiler does not support: %s\n", current->pattern);
998                                  pcre_free_study(extra8);                                  pcre_free_study(extra8);
999                                  pcre_free(re8);                                  pcre_free(re8);
# Line 1023  static int regression_tests(void) Line 1024  static int regression_tests(void)
1024                                  pcre16_free(re16);                                  pcre16_free(re16);
1025                                  re16 = NULL;                                  re16 = NULL;
1026                          }                          }
1027                          if (!(extra16->flags & PCRE_EXTRA_EXECUTABLE_JIT)) {                          else if (!(extra16->flags & PCRE_EXTRA_EXECUTABLE_JIT)) {
1028                                  printf("\n16 bit: JIT compiler does not support: %s\n", current->pattern);                                  printf("\n16 bit: JIT compiler does not support: %s\n", current->pattern);
1029                                  pcre16_free_study(extra16);                                  pcre16_free_study(extra16);
1030                                  pcre16_free(re16);                                  pcre16_free(re16);

Legend:
Removed from v.977  
changed lines
  Added in v.993

  ViewVC Help
Powered by ViewVC 1.1.5