Skip to content

Commit

Permalink
πŸ› Fix no_clicksound in guiButtonType
Browse files Browse the repository at this point in the history
  • Loading branch information
Coyote-31 committed Dec 16, 2020
1 parent 5fa84ec commit 16e6695
Show file tree
Hide file tree
Showing 3 changed files with 19,697 additions and 19,427 deletions.
9 changes: 9 additions & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,7 @@ module.exports = grammar({
$._statement_gui_min_height,
$._statement_gui_spriteType,
$._statement_gui_clicksound,
$._statement_gui_no_clicksound,
$._statement_gui_hint_tag,
$._statement_gui_frame,
$._statement_gui_text,
Expand Down Expand Up @@ -2989,6 +2990,14 @@ module.exports = grammar({
))
),

_statement_gui_no_clicksound: $ => seq(
alias('no_clicksound', $.identifier),
optional(seq(
$.assign_equal,
$._boolean_yes_no
))
),

_statement_gui_ignore_tab_navigation: $ => seq(
alias('ignore_tab_navigation', $.identifier),
optional(seq(
Expand Down
39 changes: 39 additions & 0 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3461,6 +3461,10 @@
"type": "SYMBOL",
"name": "_statement_gui_clicksound"
},
{
"type": "SYMBOL",
"name": "_statement_gui_no_clicksound"
},
{
"type": "SYMBOL",
"name": "_statement_gui_hint_tag"
Expand Down Expand Up @@ -12246,6 +12250,41 @@
}
]
},
"_statement_gui_no_clicksound": {
"type": "SEQ",
"members": [
{
"type": "ALIAS",
"content": {
"type": "STRING",
"value": "no_clicksound"
},
"named": true,
"value": "identifier"
},
{
"type": "CHOICE",
"members": [
{
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "assign_equal"
},
{
"type": "SYMBOL",
"name": "_boolean_yes_no"
}
]
},
{
"type": "BLANK"
}
]
}
]
},
"_statement_gui_ignore_tab_navigation": {
"type": "SEQ",
"members": [
Expand Down
Loading

1 comment on commit 16e6695

@Coyote-31
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix #3

Please sign in to comment.