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:
parent
36f7c648b6
commit
12783ff784
8 changed files with 51 additions and 35 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue