Chromium Code Reviews| Index: src/scopes.cc |
| =================================================================== |
| --- src/scopes.cc (revision 7006) |
| +++ src/scopes.cc (working copy) |
| @@ -388,8 +388,7 @@ |
| void Scope::SetIllegalRedeclaration(Expression* expression) { |
| - // Only set the illegal redeclaration expression the |
| - // first time the function is called. |
| + // Record only the first illegal redeclaration. |
| if (!HasIllegalRedeclaration()) { |
| illegal_redecl_ = expression; |
| } |