* 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

@ -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