Adds support for IS_OP opcode

Mentioned in:
- #190
- #191
- #195
This commit is contained in:
John Richards
2021-10-07 20:29:18 -04:00
parent fd6985370d
commit 588f24c872
4 changed files with 29 additions and 0 deletions

Binary file not shown.

9
tests/input/is_op.py Normal file
View File

@@ -0,0 +1,9 @@
a = 10
b = 10
if a is b:
pass
if a is not b:
pass

View File

@@ -0,0 +1,9 @@
a = 10 <EOL>
b = 10 <EOL>
if a is b : <EOL>
<INDENT>
pass <EOL>
<OUTDENT>
if a is not b : <EOL>
<INDENT>
pass <EOL>