Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions regression/verilog/modules/port_connection1.desc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
KNOWNBUG
CORE
port_connection1.sv

^EXIT=0$
^SIGNAL=0$
--
^warning: ignoring
--
This does not parse.
11 changes: 7 additions & 4 deletions src/verilog/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -3218,10 +3218,12 @@ named_port_connection_brace:
;

named_port_connection:
'.' port_identifier '(' expression_opt ')'
// This needs to be 'any_identifier' to allow identifiers that
// are typedefs in the local scope.
'.' any_identifier '(' expression_opt ')'
{ init($$, ID_named_port_connection);
mto($$, $2);
mto($$, $4); }
mto($$, $2);
mto($$, $4); }
;

// System Verilog standard 1800-2017
Expand Down Expand Up @@ -4644,7 +4646,8 @@ attr_name: identifier
// even if they are already used for a different kind of identifier
// in a higher scope.
any_identifier:
type_identifier
TOK_TYPE_IDENTIFIER
{ new_symbol($$, $1); }
| non_type_identifier
;

Expand Down
Loading