nga-python: fix a syntax error
FossilOrigin-Name: dbc4aa2f6945cdc76b26c177ad4ae368773dec9141b2be5a4b767435d8c09ef0
This commit is contained in:
parent
2fbc568b83
commit
597f571c06
1 changed files with 3 additions and 3 deletions
|
@ -303,21 +303,21 @@ def i_an():
|
||||||
global ip, memory, stack, address
|
global ip, memory, stack, address
|
||||||
t = stack.pop()
|
t = stack.pop()
|
||||||
m = stack.pop()
|
m = stack.pop()
|
||||||
stack.push(m &= t)
|
stack.push(m & t)
|
||||||
|
|
||||||
|
|
||||||
def i_or():
|
def i_or():
|
||||||
global ip, memory, stack, address
|
global ip, memory, stack, address
|
||||||
t = stack.pop()
|
t = stack.pop()
|
||||||
m = stack.pop()
|
m = stack.pop()
|
||||||
stack.push(m |= t)
|
stack.push(m | t)
|
||||||
|
|
||||||
|
|
||||||
def i_xo():
|
def i_xo():
|
||||||
global ip, memory, stack, address
|
global ip, memory, stack, address
|
||||||
t = stack.pop()
|
t = stack.pop()
|
||||||
m = stack.pop()
|
m = stack.pop()
|
||||||
stack.push(m ^= t)
|
stack.push(m ^ t)
|
||||||
|
|
||||||
|
|
||||||
def i_sh():
|
def i_sh():
|
||||||
|
|
Loading…
Reference in a new issue