* src/sanity/style.test: Strip all strings before checking the
file, so that strings are not checked for our C++ style. Reported by Denis (with a chainsaw).
This commit is contained in:
parent
b10727f139
commit
5cceccca06
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
2005-02-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* src/sanity/style.test: Strip all strings before checking the
|
||||||
|
file, so that strings are not checked for our C++ style.
|
||||||
|
Reported by Denis (with a chainsaw).
|
||||||
|
|
||||||
2005-02-07 Denis Poitrenaud <Denis.Poitrenaud@lip6.fr>
|
2005-02-07 Denis Poitrenaud <Denis.Poitrenaud@lip6.fr>
|
||||||
|
|
||||||
* src/misc/optionmap.cc, src/misc/optionmap.hh: Typo (Hummm).
|
* src/misc/optionmap.cc, src/misc/optionmap.hh: Typo (Hummm).
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
||||||
|
|
||||||
fail=false
|
fail=false
|
||||||
|
|
||||||
sed 's,[ ]*//.*,,' < $file > $tmp
|
sed 's,[ ]*//.*,,;s,"[^"]*","",g' < $file > $tmp
|
||||||
|
|
||||||
grep '[ ]$' $tmp &&
|
grep '[ ]$' $tmp &&
|
||||||
diag 'Trailing whitespace.'
|
diag 'Trailing whitespace.'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue