* iface/gspn/gspn.cc

(tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index()
and prop_kind() arguments on error.
This commit is contained in:
Alexandre Duret-Lutz 2003-11-03 10:58:48 +00:00
parent c03626564a
commit e394b8e9f6
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
2003-11-03 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/gspn.cc
(tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index()
and prop_kind() arguments on error.
* iface/gspn/eesrg.cc
(tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index()
argument on error.

View file

@ -100,11 +100,11 @@ namespace spot
AtomicProp index;
int err = prop_index(i->first.c_str(), &index);
if (err)
throw gspn_exeption("prop_index()", err);
throw gspn_exeption("prop_index(" + i->first + ")", err);
AtomicPropKind kind;
err = prop_kind(index, &kind);
if (err)
throw gspn_exeption("prop_kind()", err);
throw gspn_exeption("prop_kind(" + i->first + ")", err);
prop_dict[index] = ab_pair(kind, bdd_ithvar(var));
}