Skip to content

Commit

Permalink
Add support for sql.row/sql.query in let decorators.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Dec 4, 2023
1 parent 91d2708 commit 50d98ad
Show file tree
Hide file tree
Showing 3 changed files with 809 additions and 790 deletions.
9 changes: 8 additions & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,14 @@ module.exports = grammar({

time_predicate: $ => time_predicate,

time_interval: $ => token(seq(time_predicate, "-", time_predicate)),
time_interval: $ =>
token(
seq(
alias(time_predicate, $.time_predicate),
"-",
alias(time_predicate, $.time_predicate),
),
),

regexp: $ =>
seq(
Expand Down
Loading

0 comments on commit 50d98ad

Please sign in to comment.