From 530c9e91267b68a42817c5dc9e636f6f15b0f965 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Tue, 5 Jan 2016 16:48:13 -0800 Subject: [PATCH] update lips --- Lua/inject/lips.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Lua/inject/lips.lua b/Lua/inject/lips.lua index d25b10c..03d8d67 100644 --- a/Lua/inject/lips.lua +++ b/Lua/inject/lips.lua @@ -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