Explorar o código

m68k: fixed parsing of constants to absolute addresses

git-svn-id: trunk@47419 -
Károly Balogh %!s(int64=4) %!d(string=hai) anos
pai
achega
e5d2c1a980
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/m68k/ra68kmot.pas

+ 2 - 1
compiler/m68k/ra68kmot.pas

@@ -1483,7 +1483,8 @@ const
                    begin
                      Oper.InitRef;
                      oper.opr.ref.offset:=BuildRefExpression;
-                     BuildReference(oper);
+                     if actasmtoken = AS_LPAREN then
+                       BuildReference(oper);
                    end
                  else { is it a label variable ? }