Skip to content

Commit

Permalink
Remove unnecessary seq
Browse files Browse the repository at this point in the history
  • Loading branch information
kolen committed Feb 17, 2024
1 parent d71f7ac commit 73f2c13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = grammar({
],

rules: {
source_file: $ => seq($._block),
source_file: $ => $._block,

_block: $ => seq(
$._block_start,
Expand Down
9 changes: 2 additions & 7 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
"name": "slim",
"rules": {
"source_file": {
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "_block"
}
]
"type": "SYMBOL",
"name": "_block"
},
"_block": {
"type": "SEQ",
Expand Down

0 comments on commit 73f2c13

Please sign in to comment.