Add main inputfilename for V_Parallel option to allow easier debugging of parallel compilation issues

This commit is contained in:
Pierre Muller 2023-09-08 10:38:23 +00:00
parent 63f91a768c
commit fd0f72303b

View File

@ -310,8 +310,11 @@ begin
MsgTypeStr:=errorstr;
if (status.verbosity and Level)=V_Fatal then
MsgTypeStr:=fatalstr;
if (status.verbosity and Level)=V_Used then
if (status.verbosity and V_Parallel)=V_Parallel then
MsgTypeStr:=MsgTypeStr+'('+inputfilename+'/'+status.currentmodule+')'
else if (status.verbosity and Level)=V_Used then
MsgTypeStr:=PadSpace('('+status.currentmodule+')',10);
end
else
begin