Skip to content

Commit

Permalink
fix: add missing optional (key) to enum annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jan 24, 2024
1 parent 75c7556 commit 734d55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ module.exports = grammar({

overload_annotation: $ => seq('@overload', $.function_type, optional($.comment)),

enum_annotation: $ => seq('@enum', $.identifier, optional($.comment)),
enum_annotation: $ => seq('@enum', optional('(key)'), $.identifier, optional($.comment)),

language_injection: $ => seq('@language', $.identifier, optional($.comment)),

Expand Down

0 comments on commit 734d55a

Please sign in to comment.