m-novikov / tree-sitter-sql

SQL syntax highlighting for tree-sitter
MIT License
110 stars 32 forks source link

CREATE FUNCTION with no parameters #81

Open malthe opened 7 months ago

malthe commented 7 months ago
CREATE FUNCTION add() RETURNS integer
    AS 'select 1;'
    LANGUAGE SQL;

We get MISSING identifier but it's perfectly valid to have a function without a parameter.