Procházet zdrojové kódy

+ actually set hasofs to true if 'offset' is encountered in BuildConstSymbolExpression

git-svn-id: trunk@38149 -
nickysn před 7 roky
rodič
revize
3b1bd8de3f
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      compiler/x86/rax86int.pas

+ 4 - 1
compiler/x86/rax86int.pas

@@ -919,7 +919,10 @@ Unit Rax86int;
             AS_OFFSET:
               begin
                 if (actasmtoken = AS_OFFSET) then
-                  needofs:=true
+                  begin
+                    needofs:=true;
+                    hasofs:=true;
+                  end
                 else
                   needvmtofs:=true;
                 Consume(actasmtoken);