mirror of
https://github.com/notwa/mm
synced 2024-11-04 22:49:03 -08:00
update lips
This commit is contained in:
parent
2e1d8b324d
commit
530c9e9126
1 changed files with 1 additions and 6 deletions
|
@ -899,12 +899,7 @@ end
|
|||
function Parser:register(t)
|
||||
t = t or registers
|
||||
if self.tt ~= 'REG' then
|
||||
if self.tt == 'NUM' and self.tok == '0' then
|
||||
self.tt = 'REG'
|
||||
self.tok = 'R0'
|
||||
else
|
||||
self:error('expected register')
|
||||
end
|
||||
self:error('expected register')
|
||||
end
|
||||
local reg = self.tok
|
||||
if not t[reg] then
|
||||
|
|
Loading…
Reference in a new issue