Browse Source

* Allow #include ~/.fpc.cfg

peter 21 năm trước cách đây
mục cha
commit
eae6d4fc8b
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      compiler/options.pas

+ 5 - 2
compiler/options.pas

@@ -1266,7 +1266,7 @@ begin
    Message(option_too_many_cfg_files);
 { open file }
   Message1(option_using_file,filename);
-  assign(f,filename);
+  assign(f,FExpand(filename));
   {$I-}
   reset(f);
   {$I+}
@@ -2102,7 +2102,10 @@ finalization
 end.
 {
   $Log$
-  Revision 1.159  2005-01-04 16:19:52  florian
+  Revision 1.160  2005-01-08 23:14:50  peter
+    * Allow #include ~/.fpc.cfg
+
+  Revision 1.159  2005/01/04 16:19:52  florian
     * arm sets FPUFPA by default for now
 
   Revision 1.158  2005/01/03 20:27:47  peter