Changeset 34480 in webkit for trunk/JavaScriptCore/pcre/pcre_exec.cpp
- Timestamp:
- Jun 10, 2008, 7:54:39 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_exec.cpp
r34386 r34480 411 411 int min; 412 412 bool minimize = false; /* Initialization not really needed, but some compilers think so. */ 413 unsigned matchCount = 0;413 unsigned remainingMatchCount = matchLimit; 414 414 415 415 MatchStack stack; … … 444 444 445 445 RECURSE: 446 if ( ++matchCount > matchLimit)446 if (!--remainingMatchCount) 447 447 return matchError(JSRegExpErrorHitLimit, stack); 448 448
Note:
See TracChangeset
for help on using the changeset viewer.