Commit 1245d19d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

* src/ltlvisit/reducform.cc, src/ltlvisit/forminf.cc: Fix style.
parent 0e0fd18c
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/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::type
node_type_form_visitor::result() const { return result_;}
node_type_form_visitor::result() const
{
return result_;
}
void
node_type_form_visitor::visit(const atomic_prop*)
......
......@@ -134,7 +134,7 @@ namespace spot
case binop::Xor:
case binop::Equiv:
case binop::Implies:
break;;
break;
case binop::U:
/* a < b => a U b = b */
......@@ -218,7 +218,7 @@ namespace spot
f1 = *index;
index++;
}
for (; index != res->end();index++)
for (; index != res->end(); index++)
{
f2 = *index;
/* a < b => a + b = b */
......
......@@ -95,6 +95,9 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
grep '[ ];' $tmp &&
diag 'No space before semicolon.'
grep -v 'for (;;)' $tmp | grep ';[^ ")]' &&
diag 'Must have space or newline after semicolon.'
$fail && echo "$file" >>failures
done
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment