Explorar o código

* fix for -Oa parsing, by Roozbeh GHolizadeh

git-svn-id: trunk@3372 -
florian %!s(int64=19) %!d(string=hai) anos
pai
achega
aa2e2a2829
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

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