Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
c47c6c0270
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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;