mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 02:49:21 +02:00
* added status.currentmodulestate
git-svn-id: trunk@7435 -
This commit is contained in:
parent
4ed68cc386
commit
ecbcdcdabb
@ -76,6 +76,7 @@ type
|
|||||||
currentsource : string; { filename }
|
currentsource : string; { filename }
|
||||||
currentline,
|
currentline,
|
||||||
currentcolumn : longint; { current line and column }
|
currentcolumn : longint; { current line and column }
|
||||||
|
currentmodulestate : string[20];
|
||||||
{ Total Status }
|
{ Total Status }
|
||||||
compiledlines : longint; { the number of lines which are compiled }
|
compiledlines : longint; { the number of lines which are compiled }
|
||||||
errorcount,
|
errorcount,
|
||||||
|
@ -383,6 +383,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
{ update status record }
|
{ update status record }
|
||||||
status.currentmodule:=module.modulename^;
|
status.currentmodule:=module.modulename^;
|
||||||
|
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user