/[pcre]/code/tags/pcre-7.4/pcre_info.c
ViewVC logotype

Diff of /code/tags/pcre-7.4/pcre_info.c

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

revision 200 by ph10, Wed Aug 1 09:10:40 2007 UTC revision 236 by ph10, Tue Sep 11 12:57:06 2007 UTC
# Line 44  deprecated, as it has been superseded by Line 44  deprecated, as it has been superseded by
44    
45    
46  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
47  #include <config.h>  #include "config.h"
48  #endif  #endif
49    
50  #include "pcre_internal.h"  #include "pcre_internal.h"
# Line 85  if (re->magic_number != MAGIC_NUMBER) Line 85  if (re->magic_number != MAGIC_NUMBER)
85    }    }
86  if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_OPTIONS);  if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_OPTIONS);
87  if (first_byte != NULL)  if (first_byte != NULL)
88    *first_byte = ((re->options & PCRE_FIRSTSET) != 0)? re->first_byte :    *first_byte = ((re->flags & PCRE_FIRSTSET) != 0)? re->first_byte :
89       ((re->options & PCRE_STARTLINE) != 0)? -1 : -2;       ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;
90  return re->top_bracket;  return re->top_bracket;
91  }  }
92    

Legend:
Removed from v.200  
changed lines
  Added in v.236

  ViewVC Help
Powered by ViewVC 1.1.5