no message

This commit is contained in:
2025-03-30 16:00:18 +03:00
parent 4f5a091af7
commit 5ef516d019
6 changed files with 7 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ public class SPF_GetGraphFunctions extends SapforAnalysis {
int c_line = Integer.parseInt(splited[idx.Inc()]);
//-
FuncCall fc = new FuncCall(file, call_name, c_line);
fc.parent_offset = nf.line - fc.line;
fc.parentLineOffset = nf.line - fc.line;
nf.calls.add(fc);
}
}

View File

@@ -14,7 +14,7 @@ public class SPF_InlineProcedure extends SapforFilesModification {
protected boolean canStart(Object... args) throws Exception {
if (super.canStart(args) && (call = (args.length > 0) ? (FuncCall) args[0] : null) != null) {
addOpt1 = call.funcName + "|" + Global.mainModule.getFile().name;
addOpt2 = String.valueOf(call.parent_offset);
addOpt2 = String.valueOf(call.parentLineOffset);
target.sapforProperties.PARSE_FOR_INLINE = true;
target.sapforProperties.Update();
SPF_ParseFilesWithOrder.silent = true;

View File

@@ -29,7 +29,7 @@ public class SPF_InlineProcedures extends SapforTransformation {
Result.add(String.valueOf(selected_children.size()));
for (FuncCall fc : selected_children) {
Result.add(fc.file);
Result.add(String.valueOf(fc.parent_offset));
Result.add(String.valueOf(fc.parentLineOffset));
}
}
}