| 109 | } |
| 110 | |
| 111 | void addNewModules(ModuleGroup &libGroup, ProgramPtr program) { |
| 112 | libGroup.addModule(program->thisModule.release()); |
| 113 | program->library.foreach([&](Module *pm) -> bool { |
| 114 | if (!pm->name.empty() && pm->name != "$") { |
| 115 | if (!libGroup.findModule(pm->name)) { |
| 116 | libGroup.addModule(pm); |
| 117 | } |
| 118 | } |
| 119 | return true; |
| 120 | }, "*"); |
| 121 | } |
| 122 | |
| 123 | Result transform_syntax(const string &filename, const string content, format::FormatOptions options) { |
| 124 | auto src = content; |
no test coverage detected