Skip to content

Commit

Permalink
Added "component" field to component instantiation names
Browse files Browse the repository at this point in the history
  • Loading branch information
jpt13653903 committed Jul 7, 2024
1 parent 13e48ee commit 2c3cd8e
Show file tree
Hide file tree
Showing 4 changed files with 132,752 additions and 132,315 deletions.
4 changes: 2 additions & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,8 @@ module.exports = grammar({
),

component_instantiation_statement: $ => choice(
seq($.label_declaration, $.instantiated_unit, optional($.generic_map_aspect), optional($.port_map_aspect), ";"),
seq($.label_declaration, $.name, optional($.generic_map_aspect), $.port_map_aspect, ";")
seq($.label_declaration, $.instantiated_unit, optional($.generic_map_aspect), optional($.port_map_aspect), ";"),
seq($.label_declaration, field("component", $.name), optional($.generic_map_aspect), $.port_map_aspect, ";")
),

instantiated_unit: $ => choice(
Expand Down
8 changes: 6 additions & 2 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2c3cd8e

Please sign in to comment.