Bläddra i källkod

* added status.currentmodulestate

git-svn-id: trunk@7435 -
peter 18 år sedan
förälder
incheckning
ecbcdcdabb
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      compiler/comphook.pas
  2. 1 0
      compiler/verbose.pas

+ 1 - 0
compiler/comphook.pas

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

+ 1 - 0
compiler/verbose.pas

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