Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index f40d79808bda73ed067ed77e9f921d93fe247cf6..51065568bac7855a841c4fc724ba1d60d5e633a1 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2287,11 +2287,13 @@ Block* Parser::ParseVariableDeclarations( |
static bool ContainsLabel(ZoneStringList* labels, Handle<String> label) { |
ASSERT(!label.is_null()); |
- if (labels != NULL) |
- for (int i = labels->length(); i-- > 0; ) |
- if (labels->at(i).is_identical_to(label)) |
+ if (labels != NULL) { |
+ for (int i = labels->length(); i-- > 0; ) { |
+ if (labels->at(i).is_identical_to(label)) { |
return true; |
- |
+ } |
+ } |
+ } |
return false; |
} |