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

Diff of /code/trunk/pcreposix.c

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

revision 1024 by ph10, Wed Aug 29 11:08:24 2012 UTC revision 1055 by chpe, Tue Oct 16 15:53:30 2012 UTC
# Line 157  static const int eint[] = { Line 157  static const int eint[] = {
157    REG_BADPAT,  /* internal error: unknown opcode in find_fixedlength() */    REG_BADPAT,  /* internal error: unknown opcode in find_fixedlength() */
158    REG_BADPAT,  /* \N is not supported in a class */    REG_BADPAT,  /* \N is not supported in a class */
159    REG_BADPAT,  /* too many forward references */    REG_BADPAT,  /* too many forward references */
160    REG_BADPAT,  /* disallowed UTF-8/16 code point (>= 0xd800 && <= 0xdfff) */    REG_BADPAT,  /* disallowed UTF-8/16/32 code point (>= 0xd800 && <= 0xdfff) */
161    REG_BADPAT,  /* invalid UTF-16 string (should not occur) */    REG_BADPAT,  /* invalid UTF-16 string (should not occur) */
162    /* 75 */    /* 75 */
163    REG_BADPAT,  /* overlong MARK name */    REG_BADPAT,  /* overlong MARK name */
164    REG_BADPAT   /* character value in \u.... sequence is too large */    REG_BADPAT,  /* character value in \u.... sequence is too large */
165      REG_BADPAT   /* invalid UTF-32 string (should not occur) */
166  };  };
167    
168  /* Table of texts corresponding to POSIX error codes */  /* Table of texts corresponding to POSIX error codes */
# Line 316  int *ovector = NULL; Line 317  int *ovector = NULL;
317  int small_ovector[POSIX_MALLOC_THRESHOLD * 3];  int small_ovector[POSIX_MALLOC_THRESHOLD * 3];
318  BOOL allocated_ovector = FALSE;  BOOL allocated_ovector = FALSE;
319  BOOL nosub =  BOOL nosub =
320    (((const pcre *)preg->re_pcre)->options & PCRE_NO_AUTO_CAPTURE) != 0;    (REAL_PCRE_OPTIONS((const pcre *)preg->re_pcre) & PCRE_NO_AUTO_CAPTURE) != 0;
321    
322  if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL;  if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL;
323  if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL;  if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL;

Legend:
Removed from v.1024  
changed lines
  Added in v.1055

  ViewVC Help
Powered by ViewVC 1.1.5