grammar: some cleanup

This commit is contained in:
Dmitriy Pleshevskiy 2023-06-21 12:16:49 +03:00
parent 7b6ac61fa9
commit 8a9d50043d
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
3 changed files with 34 additions and 44 deletions

View file

@ -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: ($) =>

View file

@ -88,9 +88,6 @@
]
}
},
{
"type": "CHOICE",
"members": [
{
"type": "SEQ",
"members": [
@ -146,11 +143,6 @@
]
}
]
},
{
"type": "BLANK"
}
]
}
]
},

Binary file not shown.