Skip to content

Commit

Permalink
fix: check for EXCEPT being valid for comment scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Oct 11, 2023
1 parent a901729 commit 82f5c99
Show file tree
Hide file tree
Showing 4 changed files with 1,620 additions and 1,596 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ module.exports = grammar({
']',
')',
'}',
'except',
],

inline: $ => [
Expand Down
4 changes: 4 additions & 0 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -6260,6 +6260,10 @@
{
"type": "STRING",
"value": "}"
},
{
"type": "STRING",
"value": "except"
}
],
"inline": [
Expand Down
Loading

0 comments on commit 82f5c99

Please sign in to comment.