소스 검색

m68k: fixed parsing of constants to absolute addresses

git-svn-id: trunk@47419 -
Károly Balogh 4 년 전
부모
커밋
e5d2c1a980
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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 ? }