Commit Graph

3 Commits (7587b4a7f1c3a0fe4ab41301596f9b4517395a4e)

Author SHA1 Message Date
pad c380b6143b New scanner.c to better handle newlines
This imitates the Automatic Semicolon Insertions (ASI) done in
Javascript for Kotlin, to better deal with newlines that can cut
certain definitions and expressions in two.

This closes https://github.com/fwcd/tree-sitter-kotlin/issues/32

test plan:
see new newlines.txt corpus test
2021-11-09 15:49:57 +07:00
Tormod Alf Try Tufteland e9e0b08fc6 regenerate with tree-sitter-cli 19.2 2021-06-03 23:49:59 +07:00
fwcd 677f3ae356 Update repository to focus solely on the Tree-Sitter grammar 2019-07-29 19:00:48 +07:00