differentmatt / filbert

JavaScript parser of Python
Other
133 stars 27 forks source link

Handle single equals in if-statement conditions #56

Open nwinter opened 9 years ago

nwinter commented 9 years ago
if gold = 40:
    pass

This gives Error: Unknown expression type: VariableDeclaration, but it should actually throw an error about the single equals in there and suggest double equals.

nwinter commented 8 years ago

Now it just does the assignment without complaining.