* src/sanity/style.test: Catch `;'-not-followed-by-space.

* src/ltlvisit/reducform.cc, src/ltlvisit/forminf.cc: Fix style.
This commit is contained in:
Alexandre Duret-Lutz 2004-05-24 18:16:27 +00:00
parent 0e0fd18ca3
commit 1245d19d23
4 changed files with 12 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2004-05-24 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-05-24 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/sanity/style.test: Catch `;'-not-followed-by-space.
* src/ltlvisit/reducform.cc, src/ltlvisit/forminf.cc: Fix style.
* src/ltlvisit/reducform.hh: Fix some Doxygen comments. * src/ltlvisit/reducform.hh: Fix some Doxygen comments.
* src/tgbatest/ltl2tgba.cc (syntax): Keep options sorted. * src/tgbatest/ltl2tgba.cc (syntax): Keep options sorted.

View file

@ -61,7 +61,10 @@ namespace spot
node_type_form_visitor::node_type_form_visitor(){} node_type_form_visitor::node_type_form_visitor(){}
node_type_form_visitor::type node_type_form_visitor::type
node_type_form_visitor::result() const { return result_;} node_type_form_visitor::result() const
{
return result_;
}
void void
node_type_form_visitor::visit(const atomic_prop*) node_type_form_visitor::visit(const atomic_prop*)

View file

@ -134,7 +134,7 @@ namespace spot
case binop::Xor: case binop::Xor:
case binop::Equiv: case binop::Equiv:
case binop::Implies: case binop::Implies:
break;; break;
case binop::U: case binop::U:
/* a < b => a U b = b */ /* a < b => a U b = b */

View file

@ -95,6 +95,9 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
grep '[ ];' $tmp && grep '[ ];' $tmp &&
diag 'No space before semicolon.' diag 'No space before semicolon.'
grep -v 'for (;;)' $tmp | grep ';[^ ")]' &&
diag 'Must have space or newline after semicolon.'
$fail && echo "$file" >>failures $fail && echo "$file" >>failures
done done
done done