перенос проходов в центральный модуль

This commit is contained in:
2024-10-13 23:55:03 +03:00
parent 6afa2dc892
commit 4e86871571
150 changed files with 510 additions and 576 deletions

View File

@@ -43,9 +43,9 @@ public class ShowCompilerVersion extends Pass<String> {
subpass = null;
compiler.ResetVersion();
if (Global.mainModule.getMachine().type.equals(MachineType.Local)) {
subpass = passes.get(PassCode.LocalSingleCommand);
subpass = Global.mainModule.getPass(PassCode.LocalSingleCommand);
} else {
subpass = passes.get(PassCode.RemoteSingleCommand);
subpass = Global.mainModule.getPass(PassCode.RemoteSingleCommand);
}
if (subpass != null) {
if (compiler.versionLoaded = subpass.Do(compiler.getVersionCommand())) {