Browse Source

* call DefaultReplacements for #WRITE and #INCLUDE, resolves #28315

git-svn-id: trunk@31263 -
florian 10 năm trước cách đây
mục cha
commit
29ba426fcc
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      compiler/options.pas

+ 2 - 0
compiler/options.pas

@@ -2674,6 +2674,7 @@ begin
                if (s='WRITE') then
                if (s='WRITE') then
                 begin
                 begin
                   Delete(opts,1,1);
                   Delete(opts,1,1);
+                  DefaultReplacements(opts);
                   WriteLn(opts);
                   WriteLn(opts);
                   Option_read:=true;
                   Option_read:=true;
                 end
                 end
@@ -2681,6 +2682,7 @@ begin
                if (s='INCLUDE') then
                if (s='INCLUDE') then
                 begin
                 begin
                   Delete(opts,1,1);
                   Delete(opts,1,1);
+                  DefaultReplacements(opts);
                   Interpret_file(opts);
                   Interpret_file(opts);
                   Option_read:=true;
                   Option_read:=true;
                 end
                 end