Browse Source

* option -m made conditional (-dPREPROCWRITE) like its processing

git-svn-id: trunk@29098 -
Tomas Hajny 10 years ago
parent
commit
75c61150d9
2 changed files with 4 additions and 0 deletions
  1. 2 0
      compiler/globals.pas
  2. 2 0
      compiler/options.pas

+ 2 - 0
compiler/globals.pas

@@ -237,7 +237,9 @@ interface
        paralinkoptions   : TCmdStr;
        paralinkoptions   : TCmdStr;
        paradynamiclinker : string;
        paradynamiclinker : string;
        paraprintnodetree : byte;
        paraprintnodetree : byte;
+{$ifdef PREPROCWRITE}
        parapreprocess    : boolean;
        parapreprocess    : boolean;
+{$endif PREPROCWRITE}
        printnodefile     : text;
        printnodefile     : text;
 
 
        {  typical cross compiling params}
        {  typical cross compiling params}

+ 2 - 0
compiler/options.pas

@@ -1642,8 +1642,10 @@ begin
            'l' :
            'l' :
              ParaLogo:=not UnSetBool(more,0,opt,true);
              ParaLogo:=not UnSetBool(more,0,opt,true);
 
 
+{$ifdef PREPROCWRITE}
            'm' :
            'm' :
              parapreprocess:=not UnSetBool(more,0,opt,true);
              parapreprocess:=not UnSetBool(more,0,opt,true);
+{$endif PREPROCWRITE}
 
 
            'M' :
            'M' :
              begin
              begin