Skip to content

Commit

Permalink
fix: remove choice wrapper around 'virtual'
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed May 25, 2024
1 parent 0a0a5b6 commit c51ffe9
Show file tree
Hide file tree
Showing 5 changed files with 397,050 additions and 489,267 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ module.exports = grammar(C, {
'override', // legal for functions in addition to final, plus permutations.
),

virtual: _ => choice('virtual'),
virtual: _ => 'virtual',

alignas_specifier: $ => seq(
'alignas',
Expand Down
2 changes: 1 addition & 1 deletion queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"try"
"typename"
"using"
"virtual"
"concept"
"requires"
(virtual)
] @keyword

; Strings
Expand Down
Loading

0 comments on commit c51ffe9

Please sign in to comment.