mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 14:40:25 +02:00
* force always printing absolute paths when using -vb (mantis #15783)
git-svn-id: trunk@15000 -
This commit is contained in:
parent
1eb7bb27f1
commit
43846ca8c9
@ -118,7 +118,7 @@ interface
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
comphook,fmodule,constexp,globals;
|
comphook,fmodule,constexp,globals,cfileutl;
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Extra Handlers for default compiler
|
Extra Handlers for default compiler
|
||||||
@ -422,6 +422,9 @@ implementation
|
|||||||
status.currentmodulestate:=ModuleStateStr[module.state];
|
status.currentmodulestate:=ModuleStateStr[module.state];
|
||||||
status.currentsource:=module.sourcefiles.get_file_name(current_filepos.fileindex);
|
status.currentsource:=module.sourcefiles.get_file_name(current_filepos.fileindex);
|
||||||
status.currentsourcepath:=module.sourcefiles.get_file_path(current_filepos.fileindex);
|
status.currentsourcepath:=module.sourcefiles.get_file_path(current_filepos.fileindex);
|
||||||
|
{ if currentsourcepath is relative, make it absolute }
|
||||||
|
if not path_absolute(status.currentsourcepath) then
|
||||||
|
status.currentsourcepath:=GetCurrentDir+status.currentsourcepath;
|
||||||
|
|
||||||
{ update lastfileidx only if name known PM }
|
{ update lastfileidx only if name known PM }
|
||||||
if status.currentsource<>'' then
|
if status.currentsource<>'' then
|
||||||
|
Loading…
Reference in New Issue
Block a user