stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
104 stars 27 forks source link

Let modules manage their own symbol in their parent scope #2729

Open sergisiso opened 5 hours ago

sergisiso commented 5 hours ago

With #2596 Routines manage their symbol in the parent scope (attaching, detaching, renaming the routines affects their scope), modules should have the same behaviour. @LonelyCat124 I guess we can use the same Node functionality now?

LonelyCat124 commented 1 hour ago

Yeah - I assume we can use an update_parent_symbol_table implementation to do something with this.