mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-21 22:39:36 +01:00
m68k: use std_regnum_search instead of prefixing the regname with % and calling gas_regnum_search
git-svn-id: trunk@32656 -
This commit is contained in:
parent
9c12615f09
commit
c47c6c0270
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user