Commit 7fce2b2a authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/misc/version.cc: Fix trailing whitespace.

* src/sanity/style.test: Diagnose trailing whitespace.
parent 8c0b085d
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.
......
// 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 ...@@ -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 ...@@ -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"'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment