* src/misc/version.cc: Fix trailing whitespace.
* src/sanity/style.test: Diagnose trailing whitespace.
This commit is contained in:
parent
8c0b085d73
commit
7fce2b2a95
3 changed files with 9 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2004-10-29 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
2004-10-29 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* src/misc/version.cc: Fix trailing whitespace.
|
||||||
|
* src/sanity/style.test: Diagnose trailing whitespace.
|
||||||
|
|
||||||
* src/tgbatest/ltl2tgba.cc: Fix lines longer than 80 chars.
|
* src/tgbatest/ltl2tgba.cc: Fix lines longer than 80 chars.
|
||||||
* src/sanity/80columns.test: Use expand to untabify, the previous
|
* src/sanity/80columns.test: Use expand to untabify, the previous
|
||||||
recipe was incomplete.
|
recipe was incomplete.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
// et Marie Curie.
|
// et Marie Curie.
|
||||||
//
|
//
|
||||||
|
|
@ -25,7 +25,7 @@ namespace spot
|
||||||
{
|
{
|
||||||
static const char version_[] = VERSION;
|
static const char version_[] = VERSION;
|
||||||
|
|
||||||
const char*
|
const char*
|
||||||
version()
|
version()
|
||||||
{
|
{
|
||||||
return version_;
|
return version_;
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,10 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
||||||
|
|
||||||
fail=false
|
fail=false
|
||||||
|
|
||||||
sed 's,//.*,,' < $file > $tmp
|
sed 's,[ ]*//.*,,' < $file > $tmp
|
||||||
|
|
||||||
|
grep '[ ]$' $tmp &&
|
||||||
|
diag 'Trailing space or tab.'
|
||||||
|
|
||||||
grep '[ ]if(' $tmp &&
|
grep '[ ]if(' $tmp &&
|
||||||
diag 'Missing space after "if"'
|
diag 'Missing space after "if"'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue