_ in names

This commit is contained in:
Mikhalkovich Stanislav 2025-02-19 11:50:00 +03:00
parent a2b078960b
commit 80b7182dc1
2 changed files with 2 additions and 2 deletions

View file

@ -3311,7 +3311,7 @@ namespace PascalABCCompiler
// Это только для локального компилятора?
var stat = new SyntaxVisitors.ABCStatisticsVisitor();
stat.ProcessNode(unitSyntaxTree);
pABCCodeHealth = stat.CalcHealth(out int _, out int _);
pABCCodeHealth = stat.CalcHealth(out int aaa, out int bbb);
}
private SyntaxTree.compilation_unit InternalParseText(ILanguage language, string fileName, string text, List<Error> errorList, List<CompilerWarning> warnings, List<string> definesList = null, bool calculateHealth = true)

View file

@ -12942,7 +12942,7 @@ namespace PascalABCCompiler.TreeConverter
if (context.top_function.return_value_type == null || context.top_function.return_value_type == SystemLibrary.SystemLibrary.void_type)
AddError(get_location(attr), "EXPECTED_RETURN_VALUE_FOR_ATTRIBUTE");
throw new NotSupportedError(get_location(attr.qualifier));
qualifier = SemanticTree.attribute_qualifier_kind.return_kind;
// qualifier = SemanticTree.attribute_qualifier_kind.return_kind;
}
else
throw new NotSupportedError(get_location(attr.qualifier));