Browse Source

* fix for -Oa parsing, by Roozbeh GHolizadeh

git-svn-id: trunk@3372 -
florian 19 years ago
parent
commit
aa2e2a2829
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -897,7 +897,7 @@ begin
                       initoptimizerswitches:=initoptimizerswitches+level3optimizerswitches;
                       initoptimizerswitches:=initoptimizerswitches+level3optimizerswitches;
                     'a' :
                     'a' :
                       begin
                       begin
-                        if not(UpdateAlignmentStr(Copy(Opt,j+1,255),ParaAlignment)) then
+                        if not(UpdateAlignmentStr(Copy(Opt,j+3,255),ParaAlignment)) then
                           IllegalPara(opt);
                           IllegalPara(opt);
                         break;
                         break;
                       end;
                       end;