فهرست منبع

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

git-svn-id: trunk@38149 -
nickysn 7 سال پیش
والد
کامیت
3b1bd8de3f
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  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);