dstarparse: Build a tgba_digraph instead of tgba_explicit_number.

* src/dstarparse/dstarparse.yy, src/dstarparse/public.hh: Adjust the
parser to build a tgba_digraph.
* src/dstarparse/dra2ba.cc, src/dstarparse/nra2nba.cc,
src/dstarparse/nsa2tgba.cc: Temporarily adjust these functions to the
new type until they are rewritten.
This commit is contained in:
Alexandre Duret-Lutz 2014-08-05 10:49:03 +02:00
parent 886d4e75a2
commit ed94a35bea
5 changed files with 25 additions and 23 deletions

View file

@ -21,6 +21,7 @@
#include "tgbaalgos/reachiter.hh"
#include "tgbaalgos/sccfilter.hh"
#include "ltlast/constant.hh"
#include "tgba/tgbaexplicit.hh"
namespace spot
{
@ -67,8 +68,8 @@ namespace spot
const state* sout, int,
const tgba_succ_iterator* si)
{
int in = d_->aut->get_label(sin);
int out = d_->aut->get_label(sout);
int in = d_->aut->state_number(sin);
int out = d_->aut->state_number(sout);
typedef state_explicit_number::transition trans;
trans* t = out_->create_transition(in, out);