Skip to content

Commit 9dab836

Browse files
committed
Add a comment
1 parent ef57612 commit 9dab836

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ class CommonVisitor : public AST::BaseVisitor<Derived> {
148148
ASR::asr_t *tmp;
149149
Allocator &al;
150150
SymbolTable *current_scope;
151+
// The current_module contains the current module that is being visited;
152+
// this is used to append to the module dependencies if needed
151153
ASR::Module_t *current_module = nullptr;
152154
Vec<char *> current_module_dependencies;
153155
// True for the main module, false for every other one

0 commit comments

Comments
 (0)