* src/tgbatest/ltl2tgba.cc: Fix lines longer than 80 chars.

* src/sanity/80columns.test: Use expand to untabify, the previous
recipe was incomplete.
This commit is contained in:
Alexandre Duret-Lutz 2004-10-29 12:31:13 +00:00
parent 720a31c128
commit 8c0b085d73
3 changed files with 13 additions and 19 deletions

View file

@ -4,18 +4,6 @@
set -e
untabify()
{
perl -pe 's/^((.{8})*)\t/$1 /g;
s/^(.(.{8})*)\t/$1 /g;
s/^(..(.{8})*)\t/$1 /g;
s/^(...(.{8})*)\t/$1 /g;
s/^(....(.{8})*)\t/$1 /g;
s/^(.....(.{8})*)\t/$1 /g;
s/^(......(.{8})*)\t/$1 /g;
s/^(.......(.{8})*)\t/$1 /g;' $1
}
rm -f failures
for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
@ -24,7 +12,7 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
-o -name "${1-*}.test" \) -a -type f -a -print |
while read file; do
x='........................................'
if (untabify $file | grep -q $x.$x) 2>/dev/null; then
if (expand $file | grep -q $x.$x) 2>/dev/null; then
if grep 'GNU Bison' "$file" >/dev/null ||
grep 'generated by flex' "$file" >/dev/null ; then
: