alex-pinkus / tree-sitter-swift

A tree-sitter grammar for the Swift programming language.
MIT License
141 stars 38 forks source link

Allow assignment to be split over multiple lines #365

Closed alex-pinkus closed 8 months ago

alex-pinkus commented 8 months ago

Since this case used a literal "=" in the grammar, rather than an _equal_sign, it did not indicate to the scanner that the = was an allowed character. This prevented the scanner from suppressing semicolons.