awkasm: fix error message
This commit is contained in:
parent
62975f81b9
commit
d89c916711
@ -138,7 +138,7 @@ function getsym(name) {
|
|||||||
return int(name)
|
return int(name)
|
||||||
}
|
}
|
||||||
if (name in r8 || name in r16 || name in sreg) {
|
if (name in r8 || name in r16 || name in sreg) {
|
||||||
err("Register name " name "is not a valid immediate")
|
err("Register name " name " is not a valid immediate")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
if (substr(name,1,1)==".") name = plabel name
|
if (substr(name,1,1)==".") name = plabel name
|
||||||
|
Loading…
Reference in New Issue
Block a user