tree-sitter / tree-sitter-haskell

Haskell grammar for tree-sitter.
MIT License
152 stars 36 forks source link

Add skipping back to C scanner #65

Closed 414owen closed 2 years ago

414owen commented 2 years ago

I noticed that I'd accidentally changed a side-effect produced by the scanner.
I'm not entirely sure what this does, it certainly doesn't change any test results.

@tek ready to merge

tek commented 2 years ago

it changes the range that nodes occupy; without skipping, some nodes would contain the preceding whitespace. I guess this project needs more of those edit tests