Skip to content

Equals operator (==) incorrectly tokenized to two consecutive assignments #43

Closed
@dokai

Description

@dokai

I encountered an issue with tokenizing the equals operator, ==, which gets tokenized as two consecutive assignment operations due to the latter getting precedence. The effect can be seen when using a font containing programming ligatures (such as Fira Code) where the equals operator fails to render correctly.

dokai@d7cdae9 contains a test case which demonstrates the issue and fails accordingly.

  • Editor name and version: Atom 1.7.3
  • Platform: OSX 10.11.4
  • Color scheme: Monokai Phoenix
  • MagicPython version: 0.5.9
  • A sreenshot:
    2016-05-17 02 17 01 pm

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions