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

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

@@ -41,9 +41,9 @@ public class ShowCompilerHelp extends Pass<String> {
subpass = null;
compiler.ResetHelp();
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.helpLoaded = subpass.Do(compiler.getHelpCommand())) {