/[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 893 by ph10, Thu Jan 19 17:15:11 2012 UTC revision 895 by ph10, Fri Jan 20 12:12:03 2012 UTC
# Line 2436  are set, either both UTFs are supported Line 2436  are set, either both UTFs are supported
2436      (void)PCRE_CONFIG(PCRE_CONFIG_MATCH_LIMIT_RECURSION, &lrc);      (void)PCRE_CONFIG(PCRE_CONFIG_MATCH_LIMIT_RECURSION, &lrc);
2437      printf("  Default recursion depth limit = %ld\n", lrc);      printf("  Default recursion depth limit = %ld\n", lrc);
2438      (void)PCRE_CONFIG(PCRE_CONFIG_STACKRECURSE, &rc);      (void)PCRE_CONFIG(PCRE_CONFIG_STACKRECURSE, &rc);
2439      printf("  Match recursion uses %s: ", rc? "stack" : "heap");      printf("  Match recursion uses %s", rc? "stack" : "heap");
2440      PCRE_EXEC(rc, NULL, NULL, NULL, -1, -1, 0, NULL, 0);      if (showstore)
2441      printf("frame size = %d bytes\n", -rc);        {
2442          PCRE_EXEC(stack_size, NULL, NULL, NULL, -1, -1, 0, NULL, 0);
2443          printf(": %sframe size = %d bytes", rc? "approximate " : "", -stack_size);
2444          }
2445        printf("\n");
2446      goto EXIT;      goto EXIT;
2447      }      }
2448    else if (strcmp(argv[op], "-help") == 0 ||    else if (strcmp(argv[op], "-help") == 0 ||

Legend:
Removed from v.893  
changed lines
  Added in v.895

  ViewVC Help
Powered by ViewVC 1.1.5