Author: [email protected]
Date: Mon Jan 26 12:55:31 2009
New Revision: 1167

Modified:
    branches/bleeding_edge/src/jsregexp.cc

Log:
Lint error

Modified: branches/bleeding_edge/src/jsregexp.cc
==============================================================================
--- branches/bleeding_edge/src/jsregexp.cc      (original)
+++ branches/bleeding_edge/src/jsregexp.cc      Mon Jan 26 12:55:31 2009
@@ -2056,7 +2056,8 @@
  }


-int NegativeLookaheadChoiceNode:: EatsAtLeast(int still_to_find, int  
recursion_depth) {
+int NegativeLookaheadChoiceNode:: EatsAtLeast(int still_to_find,
+                                              int recursion_depth) {
    if (recursion_depth > RegExpCompiler::kMaxRecursion) return 0;
    // Alternative 0 is the negative lookahead, alternative 1 is what comes
    // afterwards.
@@ -2085,7 +2086,8 @@
    for (int i = 0; i < choice_count; i++) {
      RegExpNode* node = alternatives_->at(i).node();
      if (node == ignore_this_node) continue;
-    int node_eats_at_least = node->EatsAtLeast(still_to_find,  
recursion_depth + 1);
+    int node_eats_at_least = node->EatsAtLeast(still_to_find,
+                                               recursion_depth + 1);
      if (node_eats_at_least < min) min = node_eats_at_least;
    }
    return min;

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to