chore: some cosmetic changes

This commit is contained in:
Dmitriy Pleshevskiy 2023-01-05 23:46:19 +03:00
parent 02b7e697a4
commit 75e081f335
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 23 additions and 18 deletions

View file

@ -132,7 +132,7 @@ module.exports = grammar({
insert_items: ($) =>
choice(
seq(kw("default"), kw("values")),
seq(kw("values"), $.insert_values, repeat(seq(",", $.insert_values))),
seq(kw("values"), commaSep1($.insert_values)),
$.select_statement,
seq("(", $.select_statement, ")")
),

View file

@ -841,6 +841,9 @@
"named": false,
"value": "values"
},
{
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "insert_values"
@ -862,6 +865,8 @@
}
}
]
}
]
},
{
"type": "SYMBOL",