Changeset 28144 in webkit for trunk/JavaScriptCore/pcre/pcre_exec.cpp
- Timestamp:
- Nov 29, 2007, 3:09:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_exec.cpp
r28141 r28144 125 125 const uschar *lcc; /* Points to lower casing table */ 126 126 const uschar *ctypes; /* Points to table of type maps */ 127 BOOLoffset_overflow; /* Set if too many extractions */127 bool offset_overflow; /* Set if too many extractions */ 128 128 UChar* start_subject; /* Start of the subject string */ 129 129 UChar* end_subject; /* End of the subject string */ 130 130 UChar* end_match_ptr; /* Subject position at end match */ 131 131 int end_offset_top; /* Highwater mark at end of match */ 132 BOOLmultiline;133 BOOLcaseless;132 bool multiline; 133 bool caseless; 134 134 } match_data; 135 135 … … 167 167 168 168 static void 169 pchars(const UChar* p, int length, BOOLis_subject, match_data *md)169 pchars(const UChar* p, int length, bool is_subject, match_data *md) 170 170 { 171 171 int c; … … 196 196 */ 197 197 198 static BOOL198 static bool 199 199 match_ref(int offset, UChar* eptr, int length, match_data *md) 200 200 { … … 412 412 unsigned rdepth = 0; 413 413 414 BOOLcur_is_word;415 BOOLprev_is_word;416 BOOLis_group_start = true;414 bool cur_is_word; 415 bool prev_is_word; 416 bool is_group_start = true; 417 417 int min; 418 BOOLminimize = false; /* Initialization not really needed, but some compilers think so. */418 bool minimize = false; /* Initialization not really needed, but some compilers think so. */ 419 419 420 420 MatchStack stack; … … 2086 2086 int ocount = offsetcount - (offsetcount % 3); 2087 2087 2088 BOOLusing_temporary_offsets = false;2088 bool using_temporary_offsets = false; 2089 2089 if (re->top_backref > 0 && re->top_backref >= ocount/3) { 2090 2090 ocount = re->top_backref * 3 + 3; … … 2125 2125 studied, there may be a bitmap of possible first characters. */ 2126 2126 2127 BOOLfirst_byte_caseless = false;2127 bool first_byte_caseless = false; 2128 2128 int first_byte = -1; 2129 2129 if (re->options & PCRE_FIRSTSET) { … … 2136 2136 character" set. */ 2137 2137 2138 BOOLreq_byte_caseless = false;2138 bool req_byte_caseless = false; 2139 2139 int req_byte = -1; 2140 2140 int req_byte2 = -1;
Note:
See TracChangeset
for help on using the changeset viewer.