Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index d25730c972fdafc12ab91a1a3e63554a0114aaaf..dbcfda0cfae828e83dc1d1215e37b887b69e17b3 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -863,9 +863,9 @@ class ModuleScope final : public DeclarationScope { |
return module_descriptor_; |
} |
- // Set MODULE as VariableLocation for all variables that will live in some |
- // module's export table. |
- void AllocateModuleVariables(); |
+ // Set MODULE as VariableLocation for all variables that will live in this |
+ // module's export table. Imports are allocated by the parser. |
+ void AllocateModuleExports(); |
private: |
ModuleDescriptor* module_descriptor_; |