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

Diff of /code/trunk/pcre_byte_order.c

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

code/trunk/pcre_try_flipped.c revision 461 by ph10, Mon Oct 5 10:59:35 2009 UTC code/branches/pcre16/pcre_try_flipped.c revision 774 by zherczeg, Thu Dec 1 06:08:45 2011 UTC
# Line 99  Returns:           the new block if is i Line 99  Returns:           the new block if is i
99  */  */
100    
101  real_pcre *  real_pcre *
102  _pcre_try_flipped(const real_pcre *re, real_pcre *internal_re,  PRIV(try_flipped)(const real_pcre *re, real_pcre *internal_re,
103    const pcre_study_data *study, pcre_study_data *internal_study)    const pcre_study_data *study, pcre_study_data *internal_study)
104  {  {
105  if (byteflip(re->magic_number, sizeof(re->magic_number)) != MAGIC_NUMBER)  if (byteflip(re->magic_number, sizeof(re->magic_number)) != MAGIC_NUMBER)
# Line 113  internal_re->top_bracket = Line 113  internal_re->top_bracket =
113    (pcre_uint16)byteflip(re->top_bracket, sizeof(re->top_bracket));    (pcre_uint16)byteflip(re->top_bracket, sizeof(re->top_bracket));
114  internal_re->top_backref =  internal_re->top_backref =
115    (pcre_uint16)byteflip(re->top_backref, sizeof(re->top_backref));    (pcre_uint16)byteflip(re->top_backref, sizeof(re->top_backref));
116  internal_re->first_byte =  internal_re->first_char =
117    (pcre_uint16)byteflip(re->first_byte, sizeof(re->first_byte));    (pcre_uint16)byteflip(re->first_char, sizeof(re->first_char));
118  internal_re->req_byte =  internal_re->req_char =
119    (pcre_uint16)byteflip(re->req_byte, sizeof(re->req_byte));    (pcre_uint16)byteflip(re->req_char, sizeof(re->req_char));
120  internal_re->name_table_offset =  internal_re->name_table_offset =
121    (pcre_uint16)byteflip(re->name_table_offset, sizeof(re->name_table_offset));    (pcre_uint16)byteflip(re->name_table_offset, sizeof(re->name_table_offset));
122  internal_re->name_entry_size =  internal_re->name_entry_size =

Legend:
Removed from v.461  
changed lines
  Added in v.774

  ViewVC Help
Powered by ViewVC 1.1.5