Преглед на файлове

* fixed setting of compiling_current

git-svn-id: trunk@6630 -
peter преди 18 години
родител
ревизия
89ad4a083c
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      compiler/verbose.pas

+ 3 - 2
compiler/verbose.pas

@@ -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;