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

Diff of /code/trunk/pcre_compile.c

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

revision 1612 by ph10, Fri Nov 27 17:13:13 2015 UTC revision 1613 by ph10, Fri Nov 27 17:41:04 2015 UTC
# Line 4645  for (;; ptr++) Line 4645  for (;; ptr++)
4645      goto FAILED;      goto FAILED;
4646      }      }
4647    
4648    /* If in \Q...\E, check for the end; if not, we have a literal */    /* If in \Q...\E, check for the end; if not, we have a literal. Otherwise an
4649      isolated \E is ignored. */
4650    
4651    if (inescq && c != CHAR_NULL)    if (c != CHAR_NULL)
4652      {      {
4653      if (c == CHAR_BACKSLASH && ptr[1] == CHAR_E)      if (c == CHAR_BACKSLASH && ptr[1] == CHAR_E)
4654        {        {
# Line 4655  for (;; ptr++) Line 4656  for (;; ptr++)
4656        ptr++;        ptr++;
4657        continue;        continue;
4658        }        }
4659      else      else if (inescq)
4660        {        {
4661        if (previous_callout != NULL)        if (previous_callout != NULL)
4662          {          {
# Line 4670  for (;; ptr++) Line 4671  for (;; ptr++)
4671          }          }
4672        goto NORMAL_CHAR;        goto NORMAL_CHAR;
4673        }        }
     /* Control does not reach here. */  
4674      }      }
4675    
4676    /* In extended mode, skip white space and comments. We need a loop in order    /* In extended mode, skip white space and comments. We need a loop in order

Legend:
Removed from v.1612  
changed lines
  Added in v.1613

  ViewVC Help
Powered by ViewVC 1.1.5