Browse Source

* in_main -> in_global

peter 27 years ago
parent
commit
3c3276a915
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/scandir.inc

+ 5 - 2
compiler/scandir.inc

@@ -542,7 +542,7 @@ const
 
 
     procedure dir_outputformat(t:tdirectivetoken);
     procedure dir_outputformat(t:tdirectivetoken);
       begin
       begin
-        if not current_module^.in_main then
+        if not current_module^.in_global then
          Message(scan_w_switch_is_global)
          Message(scan_w_switch_is_global)
         else
         else
           begin
           begin
@@ -720,7 +720,10 @@ const
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.20  1998-08-18 15:11:52  peter
+  Revision 1.21  1998-08-19 00:30:22  peter
+    * in_main -> in_global
+
+  Revision 1.20  1998/08/18 15:11:52  peter
     * recompiles again
     * recompiles again
 
 
   Revision 1.19  1998/08/18 09:24:44  pierre
   Revision 1.19  1998/08/18 09:24:44  pierre