m-novikov / tree-sitter-sql

SQL syntax highlighting for tree-sitter
MIT License
112 stars 33 forks source link

Interval constructor conflicts with identifier token #18

Open m-novikov opened 2 years ago

m-novikov commented 2 years ago

It's not currently possible to produce grammar that would correctly parse the following test case:

SELECT interval;
SELECT interval '1 minute';

Issue: https://github.com/tree-sitter/tree-sitter/issues/1746 Possibly related https://github.com/tree-sitter/tree-sitter/pull/1635