chore: some cosmetic changes
This commit is contained in:
parent
02b7e697a4
commit
75e081f335
2 changed files with 23 additions and 18 deletions
|
@ -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, ")")
|
||||
),
|
||||
|
|
|
@ -842,24 +842,29 @@
|
|||
"value": "values"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "insert_values"
|
||||
},
|
||||
{
|
||||
"type": "REPEAT",
|
||||
"content": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "insert_values"
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "insert_values"
|
||||
},
|
||||
{
|
||||
"type": "REPEAT",
|
||||
"content": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "insert_values"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue