Cosmetics to please sanity checks.
* src/neverparse/public.hh, src/neverparse/parsedecl.hh: Fix inclusion guards. * src/tgba/tgbaexplicit.hh, src/tgbatest/emptchk.test, src/tgbatest/ltl2tgba.cc: Fix trailing whitespaces.
This commit is contained in:
parent
87f69eaf18
commit
1e0f99e824
6 changed files with 27 additions and 20 deletions
|
|
@ -1,6 +1,5 @@
|
|||
// Copyright (C) 2003, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
// Copyright (C) 2010 Laboratoire de Recherche et Développement de
|
||||
// l'EPITA.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -19,8 +18,8 @@
|
|||
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
|
||||
#ifndef SPOT_NEVERCLAIMPARSE_PARSEDECL_HH
|
||||
# define SPOT_NEVERCLAIMPARSE_PARSEDECL_HH
|
||||
#ifndef SPOT_NEVERPARSE_PARSEDECL_HH
|
||||
# define SPOT_NEVERPARSE_PARSEDECL_HH
|
||||
|
||||
#include <string>
|
||||
#include "neverclaimparse.hh"
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
|
||||
#ifndef SPOT_NEVERCLAIMPARSE_PUBLIC_HH
|
||||
# define SPOT_NEVERCLAIMPARSE_PUBLIC_HH
|
||||
#ifndef SPOT_NEVERPARSE_PUBLIC_HH
|
||||
# define SPOT_NEVERPARSE_PUBLIC_HH
|
||||
|
||||
# include "tgba/tgbaexplicit.hh"
|
||||
// Unfortunately Bison 2.3 uses the same guards in all parsers :(
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ namespace spot
|
|||
}
|
||||
return i->second;
|
||||
}
|
||||
|
||||
|
||||
state*
|
||||
set_init_state(const label& state)
|
||||
{
|
||||
|
|
@ -327,7 +327,7 @@ namespace spot
|
|||
/// Create an alias for a state. Any reference to \a alias_name
|
||||
/// will act as a reference to \a real_name.
|
||||
virtual
|
||||
void add_state_alias(const std::string& alias_name,
|
||||
void add_state_alias(const std::string& alias_name,
|
||||
const std::string& real_name)
|
||||
{
|
||||
name_state_map_[alias_name] = add_state(real_name);
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@ expect_ce()
|
|||
run 0 ../ltl2tgba -CR -eTau03_opt -f "$1"
|
||||
run 0 ../ltl2tgba -CR -eGV04 -f "$1"
|
||||
# Expect multiple accepting runs
|
||||
test `../ltl2tgba -CR -e'CVWY90(repeated)' -l "$1" |
|
||||
test `../ltl2tgba -CR -e'CVWY90(repeated)' -l "$1" |
|
||||
grep Prefix: | wc -l` -ge $2
|
||||
test `../ltl2tgba -CR -e'SE05(repeated)' -l "$1" |
|
||||
test `../ltl2tgba -CR -e'SE05(repeated)' -l "$1" |
|
||||
grep Prefix: | wc -l` -ge $2
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -784,15 +784,15 @@ main(int argc, char** argv)
|
|||
{
|
||||
spot::neverclaim_parse_error_list pel;
|
||||
tm.start("parsing neverclaim");
|
||||
to_free = a = e = spot::neverclaim_parse(input, pel, dict,
|
||||
env, debug_opt);
|
||||
to_free = a = e = spot::neverclaim_parse(input, pel, dict,
|
||||
env, debug_opt);
|
||||
tm.stop("parsing neverclaim");
|
||||
if (spot::format_neverclaim_parse_errors(std::cerr, input, pel))
|
||||
{
|
||||
delete to_free;
|
||||
delete dict;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
e->merge_transitions();
|
||||
}
|
||||
|
|
@ -1166,7 +1166,6 @@ main(int argc, char** argv)
|
|||
else
|
||||
{
|
||||
spot::print_tgba_run(std::cout, a, run);
|
||||
|
||||
if (accepting_run_replay
|
||||
&& !spot::replay_tgba_run(std::cout, a, run,
|
||||
true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue