Cosmetics.

* src/sanity/style.test: Catch some binary operators not
delimited with spaces.
* src/tgbaalgos/bfssteps.cc, src/tgbaalgos/magic.cc,
src/tgbaalgos/reducerun.cc, src/tgbaalgos/se05.cc,
src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Fix these.
This commit is contained in:
Alexandre Duret-Lutz 2011-03-31 10:19:59 +02:00
parent 36f7c648b6
commit 12783ff784
8 changed files with 51 additions and 35 deletions

View file

@ -121,10 +121,16 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
grep ",[^ \t\"%']" $tmp &&
diag 'Space after coma.'
grep '[^ ]&&[^ ]' $tmp &&
# The 'r' allows operator&&
grep '[^ r]&&[^ ]' $tmp &&
diag 'Space arround binary operators.'
grep '[^ ]||[^ ]' $tmp &&
# The 'r' allows operator||
grep '[^ r]||[^ ]' $tmp &&
diag 'Space arround binary operators.'
# The 'r' allows operator==
grep '[^ r][!<>=]=[^ ]' $tmp &&
diag 'Space arround binary operators.'
grep '[ ]default:[^:].*;' $tmp &&