фикс бага с компиляцией
This commit is contained in:
2023-11-27 19:46:46 +03:00
parent 7be3f9ccda
commit 433070c15f
4 changed files with 13 additions and 11 deletions

View File

@@ -36,9 +36,12 @@ public class ModuleAnchestorForm<T extends ModuleAnchestor> extends DBObjectDial
//проверим команду.
if (Result instanceof Makefile) {
//могут быть только flink/clink
if (!command.equals("flink") && !command.equals("clink")) {
if (!command.equals("flink") && !command.equals("clink")
&&
!command.equals("f") && !command.equals("c")
) {
Log.Writeln("При линковке DVM системой допустимы\n" +
"только команды flink или clink");
"только команды f,с, flink или clink");
}
} else if (Result instanceof Module) {
//могут быть только f/c

View File

@@ -21,9 +21,11 @@ public enum LanguageName {
public String getDVMLink() {
switch (this) {
case fortran:
return "flink";
return "f";
//"flink";
case c:
return "clink";
return "c";
//"clink";
default:
return "";
}

View File

@@ -62,7 +62,7 @@ public class Visualiser extends Component {
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
@Override
public void GetVersionInfo() {
version = 1037;
version = 1038;
String pattern = "MMM dd yyyy HH:mm:ss";
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
date_text = df.format(getClassBuildTime());