-
Editor name and version: VS Code 1.67
-
Platform: all
-
Color scheme: all
-
MagicPython version: commit c9b3409
-
A sreenshot:

-
5-10 lines of surrounding code:
in 42and 2, a valid python code, 42and is marked as invalid.illegal.name.python
42 should be marked as constant.numeric.dec.python and and should be marked as keyword.control.flow.python.
PyCharm is able to parse it correctly:

Originally from @Bobronium in microsoft/vscode#150199
Editor name and version: VS Code 1.67
Platform: all
Color scheme: all
MagicPython version: commit c9b3409
A sreenshot:

5-10 lines of surrounding code:
in
42and 2, a valid python code,42andis marked asinvalid.illegal.name.python42should be marked asconstant.numeric.dec.pythonandandshould be marked askeyword.control.flow.python.PyCharm is able to parse it correctly:

Originally from @Bobronium in microsoft/vscode#150199