Skip to content

Commit

Permalink
fix: kludge around statement delimiters for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfay committed Jun 20, 2023
1 parent 0c9afe6 commit 30668da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ module.exports = grammar({
conflicts: $ => [
[$.object_reference, $._qualified_field],
[$.object_reference],
// TODO these two have internal conflicts because of optional parenthesized
// settings which can be interpreted as _subsequent statements_ due to our
// current handling of statement delimiters in program nodes. Remove once
// we have expressed programs as delimited sequences of statements.
[$._vacuum_table],
[$._compute_stats],
],

precedences: $ => [
Expand Down

0 comments on commit 30668da

Please sign in to comment.