Добавил удаление мертвого кода.
This commit is contained in:
2024-01-23 16:49:56 +03:00
parent fce61bf55a
commit ea3fb6a0ba
6 changed files with 14 additions and 26 deletions

View File

@@ -118,6 +118,7 @@ public abstract class Sapfor extends OSDComponent {
PassCode_2021.SPF_ExpressionSubstitution,
PassCode_2021.EraseBadSymbols,
PassCode_2021.SPF_RemoveComments,
PassCode_2021.SPF_RemoveDeadCode,
PassCode_2021.CombineFiles,
PassCode_2021.CopyProject,
PassCode_2021.PrepareForModulesAssembly,
@@ -375,6 +376,7 @@ public abstract class Sapfor extends OSDComponent {
res.add(PassCode_2021.SPF_RemoveDvmDirectivesToComments);
res.add(PassCode_2021.SPF_RemoveOmpDirectives);
res.add(PassCode_2021.SPF_RemoveComments);
res.add(PassCode_2021.SPF_RemoveDeadCode);
res.add(PassCode_2021.SPF_InsertIncludesPass);
//--
res.add(PassCode_2021.SPF_LoopEndDoConverterPass);

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 = 1063;
version = 1064;
String pattern = "MMM dd yyyy HH:mm:ss";
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
date_text = df.format(getClassBuildTime());