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

Diff of /code/trunk/pcre_exec.c

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

revision 130 by ph10, Mon Mar 26 15:09:47 2007 UTC revision 137 by ph10, Thu Mar 29 13:56:00 2007 UTC
# Line 48  possible. There are also some static sup Line 48  possible. There are also some static sup
48    
49  #include "pcre_internal.h"  #include "pcre_internal.h"
50    
51    /* Undefine some potentially clashing cpp symbols */
52    
53    #undef min
54    #undef max
55    
56  /* The chain of eptrblocks for tail recursions uses memory in stack workspace,  /* The chain of eptrblocks for tail recursions uses memory in stack workspace,
57  obtained at top level, the size of which is defined by EPTR_WORK_SIZE. */  obtained at top level, the size of which is defined by EPTR_WORK_SIZE. */
58    
# Line 4013  for(;;) Line 4018  for(;;)
4018        {        {
4019        while (start_match <= end_subject && !WAS_NEWLINE(start_match))        while (start_match <= end_subject && !WAS_NEWLINE(start_match))
4020          start_match++;          start_match++;
4021    
4022        /* If we have just passed a CR and the newline option is ANY, and we are        /* If we have just passed a CR and the newline option is ANY, and we are
4023        now at a LF, advance the match position by one more character. */        now at a LF, advance the match position by one more character. */
4024    
4025        if (start_match[-1] == '\r' &&        if (start_match[-1] == '\r' &&
4026             md->nltype == NLTYPE_ANY &&             md->nltype == NLTYPE_ANY &&
4027             start_match < end_subject &&             start_match < end_subject &&

Legend:
Removed from v.130  
changed lines
  Added in v.137

  ViewVC Help
Powered by ViewVC 1.1.5