mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 21:39:31 +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 }
|
||||
currentline,
|
||||
currentcolumn : longint; { current line and column }
|
||||
currentmodulestate : string[20];
|
||||
{ Total Status }
|
||||
compiledlines : longint; { the number of lines which are compiled }
|
||||
errorcount,
|
||||
|
@ -383,6 +383,7 @@ implementation
|
||||
begin
|
||||
{ update status record }
|
||||
status.currentmodule:=module.modulename^;
|
||||
status.currentmodulestate:=ModuleStateStr[module.state];
|
||||
status.currentsource:=module.sourcefiles.get_file_name(current_filepos.fileindex);
|
||||
status.currentsourcepath:=module.sourcefiles.get_file_path(current_filepos.fileindex);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user