mirror of
https://github.com/verilator/verilator.git
synced 2025-04-05 20:22:41 +00:00
Do not parse covergroup identifiers as types
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
This commit is contained in:
parent
22d6bb8180
commit
ac29393ec9
@ -6551,12 +6551,11 @@ covergroup_declaration<nodep>: // ==IEEE: covergroup_declaration
|
|||||||
GRAMMARP->endLabel($<fl>7, $1, $7); }
|
GRAMMARP->endLabel($<fl>7, $1, $7); }
|
||||||
;
|
;
|
||||||
|
|
||||||
covergroup_declarationFront<classp>: // IEEE: part of covergroup_declaration
|
covergroup_declarationFront<constraintp>: // IEEE: part of covergroup_declaration
|
||||||
yCOVERGROUP idAny
|
yCOVERGROUP idAny
|
||||||
{ $$ = new AstClass{$<fl>2, *$2};
|
{ $$ = new AstConstraint{$<fl>2, *$2, nullptr};
|
||||||
BBUNSUP($<fl>1, "Unsupported: covergroup");
|
BBUNSUP($<fl>1, "Unsupported: covergroup");
|
||||||
SYMP->pushNew($<classp>$);
|
SYMP->pushNew($<constraintp>$); }
|
||||||
v3Global.setHasClasses(); }
|
|
||||||
;
|
;
|
||||||
|
|
||||||
cgexpr<nodeExprp>: // IEEE-2012: covergroup_expression, before that just expression
|
cgexpr<nodeExprp>: // IEEE-2012: covergroup_expression, before that just expression
|
||||||
|
Loading…
Reference in New Issue
Block a user