vhdlpp: Allow sequence_of_statements to be empty.
Fix for br987.
This commit is contained in:
parent
775904ab0f
commit
fc2139f01c
|
|
@ -2273,6 +2273,7 @@ sequence_of_statements
|
|||
tmp->push_back($1);
|
||||
$$ = tmp;
|
||||
}
|
||||
| { $$ = NULL; }
|
||||
;
|
||||
|
||||
sequential_statement
|
||||
|
|
@ -2531,7 +2532,6 @@ subprogram_specification
|
|||
list here. */
|
||||
subprogram_statement_part
|
||||
: sequence_of_statements { $$ = $1; }
|
||||
| { $$ = 0; }
|
||||
;
|
||||
|
||||
subtype_declaration
|
||||
|
|
|
|||
Loading…
Reference in New Issue