fixed befunge
This commit is contained in:
parent
91f249859f
commit
6bcc38d990
|
@ -97,6 +97,9 @@ local rw_head = function(field,commands)
|
||||||
function RW_head:pop(value)
|
function RW_head:pop(value)
|
||||||
local value = self.stack[#self.stack]
|
local value = self.stack[#self.stack]
|
||||||
table.remove(self.stack,#self.stack)
|
table.remove(self.stack,#self.stack)
|
||||||
|
if not value then
|
||||||
|
return 0
|
||||||
|
end
|
||||||
return value
|
return value
|
||||||
end
|
end
|
||||||
function RW_head:walk()
|
function RW_head:walk()
|
||||||
|
|
Loading…
Reference in New Issue