various typos

* bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix
looser->loser and lossing->losing.
* tests/sanity/style.test: Catch 'an uni[^n]'.
* spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh,
spot/twa/twagraph.cc, spot/twaalgos/complement.hh,
spot/twaalgos/sccinfo.cc, spot/twaalgos/sum.hh: Fix various occurences
of this pattern.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-30 21:22:55 +02:00
parent 42e5cd955e
commit be41155308
9 changed files with 19 additions and 20 deletions

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2013, 2014, 2015 Laboratoire de Recherche et Développement
// de l'Epita.
// Copyright (C) 2013-2015, 2017 Laboratoire de Recherche et
// Développement de l'Epita.
//
// This file is part of Spot, a model checking library.
//
@ -35,7 +35,7 @@ namespace spot
///
/// Functions like to_generalized_buchi() or remove_fin() are
/// frequently called after dtwa_complement() to obtain an easier
/// acceptance condition (maybe at the cost of loosing determinism.)
/// acceptance condition (maybe at the cost of losing determinism.)
SPOT_API twa_graph_ptr
dtwa_complement(const const_twa_graph_ptr& aut);
}

View file

@ -182,7 +182,7 @@ namespace spot
unsigned dest = e.dst;
if ((int) dest < 0)
{
// Iterate over all destinations of an universal edge.
// Iterate over all destinations of a universal edge.
if (todo_.top().univ_pos == 0)
todo_.top().univ_pos = ~dest + 1;
const auto& v = gr.dests_vector();

View file

@ -48,7 +48,7 @@ namespace spot
unsigned left_state,
unsigned right_state);
/// \brief Sum two twa into a new twa, using an universal initial transition,
/// \brief Sum two twa into a new twa, using a universal initial transition,
/// performing the intersection of the two languages of the input automatons.
///
/// \param left Left term of the sum.
@ -58,7 +58,7 @@ namespace spot
twa_graph_ptr sum_and(const const_twa_graph_ptr& left,
const const_twa_graph_ptr& right);
/// \brief Sum two twa into a new twa, using an universal initial transition,
/// \brief Sum two twa into a new twa, using a universal initial transition,
/// performing the intersection of the two languages of the input automatons.
///
/// \param left Left term of the sum.