перенос проходов в центральный модуль
This commit is contained in:
@@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user