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: ($) =>
|
insert_items: ($) =>
|
||||||
choice(
|
choice(
|
||||||
seq(kw("default"), kw("values")),
|
seq(kw("default"), kw("values")),
|
||||||
seq(kw("values"), $.insert_values, repeat(seq(",", $.insert_values))),
|
seq(kw("values"), commaSep1($.insert_values)),
|
||||||
$.select_statement,
|
$.select_statement,
|
||||||
seq("(", $.select_statement, ")")
|
seq("(", $.select_statement, ")")
|
||||||
),
|
),
|
||||||
|
|
|
@ -842,24 +842,29 @@
|
||||||
"value": "values"
|
"value": "values"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "SYMBOL",
|
"type": "SEQ",
|
||||||
"name": "insert_values"
|
"members": [
|
||||||
},
|
{
|
||||||
{
|
"type": "SYMBOL",
|
||||||
"type": "REPEAT",
|
"name": "insert_values"
|
||||||
"content": {
|
},
|
||||||
"type": "SEQ",
|
{
|
||||||
"members": [
|
"type": "REPEAT",
|
||||||
{
|
"content": {
|
||||||
"type": "STRING",
|
"type": "SEQ",
|
||||||
"value": ","
|
"members": [
|
||||||
},
|
{
|
||||||
{
|
"type": "STRING",
|
||||||
"type": "SYMBOL",
|
"value": ","
|
||||||
"name": "insert_values"
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "insert_values"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue