vhdlpp: Allow sequence_of_statements to be empty.

Fix for br987.
This commit is contained in:
Maciej Suminski 2015-08-09 18:44:59 +02:00
parent 775904ab0f
commit fc2139f01c
1 changed files with 1 additions and 1 deletions

View File

@ -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