Chromium Code Reviews| Index: src/parser.h |
| diff --git a/src/parser.h b/src/parser.h |
| index 686dac85afa81bde06b5d07099e4268372e3e754..eac28f612b6abf423cf07ef29a1a03b277e81a03 100644 |
| --- a/src/parser.h |
| +++ b/src/parser.h |
| @@ -645,6 +645,11 @@ class Parser { |
| // Strict mode octal literal validation. |
| void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); |
| + // For harmony block scoping mode: Check if the scope has conflicting var |
| + // declarations, i.e. a var declaration that has been hoisted from a nested |
| + // scope over a let binding of the same name. |
|
Lasse Reichstein
2011/09/01 07:34:04
Be more explicit (define what you mean by "over",
Steven
2011/09/01 15:01:33
Done.
|
| + void CheckConflictingVarDeclarations(Scope* scope, bool* ok); |
| + |
| // Parser support |
| VariableProxy* Declare(Handle<String> name, Variable::Mode mode, |
| FunctionLiteral* fun, |