grammar: some cleanup
This commit is contained in:
parent
7b6ac61fa9
commit
8a9d50043d
3 changed files with 34 additions and 44 deletions
|
@ -86,12 +86,10 @@ module.exports = grammar({
|
|||
seq(
|
||||
$._connection_path,
|
||||
repeat1(seq($.arrow, $._connection_path)),
|
||||
optional(
|
||||
seq(
|
||||
optional(seq($._colon, optional($.label))),
|
||||
optional(seq(alias($._connection_block, $.block)))
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
_connection_path: ($) =>
|
||||
|
|
|
@ -88,9 +88,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
|
@ -146,11 +143,6 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "BLANK"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue