Changeset 68127 in webkit for trunk/JavaScriptCore/yarr/RegexInterpreter.h
- Timestamp:
- Sep 23, 2010, 1:40:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/yarr/RegexInterpreter.h
r64146 r68127 95 95 int next; 96 96 int end; 97 bool onceThrough; 97 98 } alternative; 98 99 unsigned checkInputCount; … … 216 217 } 217 218 218 static ByteTerm BodyAlternativeBegin( )219 static ByteTerm BodyAlternativeBegin(bool onceThrough) 219 220 { 220 221 ByteTerm term(TypeBodyAlternativeBegin); 221 222 term.alternative.next = 0; 222 223 term.alternative.end = 0; 223 return term; 224 } 225 226 static ByteTerm BodyAlternativeDisjunction() 224 term.alternative.onceThrough = onceThrough; 225 return term; 226 } 227 228 static ByteTerm BodyAlternativeDisjunction(bool onceThrough) 227 229 { 228 230 ByteTerm term(TypeBodyAlternativeDisjunction); 229 231 term.alternative.next = 0; 230 232 term.alternative.end = 0; 233 term.alternative.onceThrough = onceThrough; 231 234 return term; 232 235 } … … 237 240 term.alternative.next = 0; 238 241 term.alternative.end = 0; 242 term.alternative.onceThrough = false; 239 243 return term; 240 244 } … … 245 249 term.alternative.next = 0; 246 250 term.alternative.end = 0; 251 term.alternative.onceThrough = false; 247 252 return term; 248 253 } … … 253 258 term.alternative.next = 0; 254 259 term.alternative.end = 0; 260 term.alternative.onceThrough = false; 255 261 return term; 256 262 } … … 261 267 term.alternative.next = 0; 262 268 term.alternative.end = 0; 269 term.alternative.onceThrough = false; 263 270 return term; 264 271 }
Note:
See TracChangeset
for help on using the changeset viewer.