Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 94d657504e8392ce3e456217fd02c9260bc72477..e32db4d36f32b5c1c2be8016c89fe7ffd776a138 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1274,7 +1274,7 @@ Module* Parser::ParseModuleLiteral(bool* ok) { |
Interface* interface = scope->interface(); |
for (Interface::Iterator it = interface->iterator(); |
!it.done(); it.Advance()) { |
- if (scope->LocalLookup(it.name()) == NULL) { |
+ if (scope->LookupLocal(it.name()) == NULL) { |
ParserTraits::ReportMessage("module_export_undefined", it.name()); |
*ok = false; |
return NULL; |
@@ -1686,7 +1686,7 @@ void Parser::Declare(Declaration* declaration, bool resolve, bool* ok) { |
// global scope. |
var = declaration_scope->is_global_scope() |
? declaration_scope->Lookup(name) |
- : declaration_scope->LocalLookup(name); |
+ : declaration_scope->LookupLocal(name); |
if (var == NULL) { |
// Declare the name. |
var = declaration_scope->DeclareLocal( |