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

Diff of /code/trunk/pcre_dfa_exec.c

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

revision 473 by ph10, Sat Jan 2 12:40:07 2010 UTC revision 475 by ph10, Sat Jan 2 18:21:30 2010 UTC
# Line 255  typedef struct stateblock { Line 255  typedef struct stateblock {
255  #define INTS_PER_STATEBLOCK  (sizeof(stateblock)/sizeof(int))  #define INTS_PER_STATEBLOCK  (sizeof(stateblock)/sizeof(int))
256    
257    
258  #ifdef DEBUG  #ifdef PCRE_DEBUG
259  /*************************************************  /*************************************************
260  *             Print character string             *  *             Print character string             *
261  *************************************************/  *************************************************/
# Line 559  for (;;) Line 559  for (;;)
559    workspace[0] ^= 1;              /* Remember for the restarting feature */    workspace[0] ^= 1;              /* Remember for the restarting feature */
560    workspace[1] = active_count;    workspace[1] = active_count;
561    
562  #ifdef DEBUG  #ifdef PCRE_DEBUG
563    printf("%.*sNext character: rest of subject = \"", rlevel*2-2, SP);    printf("%.*sNext character: rest of subject = \"", rlevel*2-2, SP);
564    pchars((uschar *)ptr, strlen((char *)ptr), stdout);    pchars((uschar *)ptr, strlen((char *)ptr), stdout);
565    printf("\"\n");    printf("\"\n");
# Line 605  for (;;) Line 605  for (;;)
605      int state_offset = current_state->offset;      int state_offset = current_state->offset;
606      int count, codevalue, rrc;      int count, codevalue, rrc;
607    
608  #ifdef DEBUG  #ifdef PCRE_DEBUG
609      printf ("%.*sProcessing state %d c=", rlevel*2-2, SP, state_offset);      printf ("%.*sProcessing state %d c=", rlevel*2-2, SP, state_offset);
610      if (clen == 0) printf("EOL\n");      if (clen == 0) printf("EOL\n");
611        else if (c > 32 && c < 127) printf("'%c'\n", c);        else if (c > 32 && c < 127) printf("'%c'\n", c);

Legend:
Removed from v.473  
changed lines
  Added in v.475

  ViewVC Help
Powered by ViewVC 1.1.5