mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 15:15:47 +03:00
Add external mappings to ST
This commit is contained in:
parent
2a152c2517
commit
e78b292552
@ -101,6 +101,7 @@ impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a> {
|
|||||||
self.program_name = Some(input.stub_id.name.name);
|
self.program_name = Some(input.stub_id.name.name);
|
||||||
input.functions.iter().for_each(|(_, c)| (self.visit_function_stub(c)));
|
input.functions.iter().for_each(|(_, c)| (self.visit_function_stub(c)));
|
||||||
input.structs.iter().for_each(|(_, c)| (self.visit_struct_stub(c)));
|
input.structs.iter().for_each(|(_, c)| (self.visit_struct_stub(c)));
|
||||||
|
input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c)));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_function_stub(&mut self, input: &'a FunctionStub) {
|
fn visit_function_stub(&mut self, input: &'a FunctionStub) {
|
||||||
|
Loading…
Reference in New Issue
Block a user