mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 17:19:27 +01:00
* fixed setting of compiling_current
git-svn-id: trunk@6630 -
This commit is contained in:
parent
2ea4c683db
commit
89ad4a083c
@ -403,8 +403,9 @@ var
|
||||
lastfileidx:=0;
|
||||
lastmoduleidx:=module.unit_index;
|
||||
end;
|
||||
if assigned(module) then
|
||||
status.compiling_current:=(compiling_module.state in [ms_compile,ms_second_compile]);
|
||||
status.compiling_current:=assigned(compiling_module) and
|
||||
(module=compiling_module) and
|
||||
(compiling_module.state in [ms_compile,ms_second_compile]);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user