* src/sanity/style.test: Catch `;'-not-followed-by-space.
* src/ltlvisit/reducform.cc, src/ltlvisit/forminf.cc: Fix style.
This commit is contained in:
parent
0e0fd18ca3
commit
1245d19d23
4 changed files with 12 additions and 3 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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*)
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
||||||
|
|
@ -218,7 +218,7 @@ namespace spot
|
||||||
f1 = *index;
|
f1 = *index;
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
for (; index != res->end();index++)
|
for (; index != res->end(); index++)
|
||||||
{
|
{
|
||||||
f2 = *index;
|
f2 = *index;
|
||||||
/* a < b => a + b = b */
|
/* a < b => a + b = b */
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue