Skip to content

Commit

Permalink
fix: add old_style functions to block_item
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Aug 13, 2023
1 parent b62e08e commit e0c2274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ module.exports = grammar({

_block_item: $ => choice(
$.function_definition,
alias($._old_style_function_definition, $.function_definition),
$.linkage_specification,
$.declaration,
$._statement,
Expand Down

0 comments on commit e0c2274

Please sign in to comment.