nga-python: raise IndexError on invalid fetch address (#31)
FossilOrigin-Name: 40e85d0ae3d2223e1b465f782f8e4c4b93bc7c1ffad6615f569ebc6a357482e1
This commit is contained in:
parent
84f5134687
commit
58e289d1fc
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ class Retro:
|
|||
elif target == -5:
|
||||
self.stack.push(170141183460469231731687303715884105727)
|
||||
else:
|
||||
self.stack.push(0)
|
||||
raise IndexError
|
||||
|
||||
def i_store(self):
|
||||
mi = self.stack.pop()
|
||||
|
|
Loading…
Reference in a new issue