parsetl: remove a superfluous diagnostic on some erroneous input
* tests/core/neverclaimread.test: Adjust and remove FIXME. * spot/parsetl/parsetl.yy (try_recursive_parse): Return false on empty string.
This commit is contained in:
parent
4a2bdd6e86
commit
ef9267a58e
2 changed files with 1 additions and 3 deletions
|
|
@ -296,7 +296,7 @@ using namespace spot;
|
|||
if (str.empty())
|
||||
{
|
||||
error_list.emplace_back(location, "unexpected empty block");
|
||||
return nullptr;
|
||||
return fnode::ff();
|
||||
}
|
||||
|
||||
spot::parsed_formula pf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue