浏览代码

m68k: use std_regnum_search instead of prefixing the regname with % and calling gas_regnum_search

git-svn-id: trunk@32656 -
Károly Balogh 9 年之前
父节点
当前提交
c47c6c0270
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      compiler/m68k/ra68kmot.pas

+ 1 - 2
compiler/m68k/ra68kmot.pas

@@ -205,8 +205,7 @@ const
     function tm68kmotreader.is_register(const s:string):boolean;
       begin
         result:=false;
-        // FIX ME!!! '%'+ is ugly, needs a proper fix (KB)
-        actasmregister:=gas_regnum_search('%'+lower(s));
+        actasmregister:=std_regnum_search(lower(s));
         if actasmregister<>NR_NO then
           begin
             result:=true;