format yacc file
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
This commit is contained in:
parent
d019509378
commit
a59adbb019
|
|
@ -491,15 +491,12 @@ attribute_instance_seq:
|
|||
|
||||
attribute_instance:
|
||||
ATTRIBUTE_OPEN attr_specs ATTRIBUTE_CLOSED
|
||||
{
|
||||
$$ = new sta::VerilogAttributeStmt($2);
|
||||
}
|
||||
{ $$ = new sta::VerilogAttributeStmt($2); }
|
||||
;
|
||||
|
||||
attr_specs:
|
||||
attr_spec
|
||||
{
|
||||
$$ = new sta::VerilogAttributeEntrySeq;
|
||||
{ $$ = new sta::VerilogAttributeEntrySeq;
|
||||
$$->push_back($1);
|
||||
}
|
||||
| attr_spec ',' attr_spec
|
||||
|
|
@ -510,9 +507,7 @@ attr_spec:
|
|||
ID
|
||||
{ $$ = new sta::VerilogAttributeEntry($1, "1"); }
|
||||
| ID '=' attr_spec_value
|
||||
{
|
||||
$$ = new sta::VerilogAttributeEntry($1, $3);
|
||||
}
|
||||
{ $$ = new sta::VerilogAttributeEntry($1, $3); }
|
||||
;
|
||||
|
||||
attr_spec_value:
|
||||
|
|
|
|||
Loading…
Reference in New Issue