* src/tgbaparse/tgbaparse.yy (acc_list): Do not explicitly delete
an undeclared acceptance condition. * src/tgbaalgos/save.cc (print_acc): Unquote atomic propositions.
This commit is contained in:
parent
d309c01941
commit
5d0f702383
3 changed files with 17 additions and 4 deletions
|
|
@ -179,9 +179,9 @@ acc_list:
|
|||
if (! result->has_acceptance_condition(f))
|
||||
{
|
||||
error_list.push_back(spot::tgba_parse_error(@2,
|
||||
"undeclared acceptance condition"));
|
||||
"undeclared acceptance condition `" + *$2 + "'"));
|
||||
destroy(f);
|
||||
delete $2;
|
||||
// $2 will be destroyed on error recovery.
|
||||
YYERROR;
|
||||
}
|
||||
$1->push_back(f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue