Browse Source

* close ppu file if errors

pierre 25 years ago
parent
commit
7a2993fe8b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      compiler/pmodules.pas

+ 5 - 1
compiler/pmodules.pas

@@ -1319,6 +1319,7 @@ unit pmodules;
           begin
           begin
             Message1(unit_f_errors_in_unit,tostr(Errorcount));
             Message1(unit_f_errors_in_unit,tostr(Errorcount));
             status.skip_error:=true;
             status.skip_error:=true;
+            closecurrentppu;
             exit;
             exit;
           end;
           end;
 
 
@@ -1660,7 +1661,10 @@ unit pmodules;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.187  2000-04-02 10:18:18  florian
+  Revision 1.188  2000-04-14 08:15:05  pierre
+   * close ppu file if errors
+
+  Revision 1.187  2000/04/02 10:18:18  florian
     * bug 701 fixed: ansistrings in interface and implementation part of the units
     * bug 701 fixed: ansistrings in interface and implementation part of the units
       are now finalized correctly even if there are no explicit initialization/
       are now finalized correctly even if there are no explicit initialization/
       finalization statements
       finalization statements