bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{master} tests: strenthen the trailing spaces check


From: Akim Demaille
Subject: {master} tests: strenthen the trailing spaces check
Date: Fri, 3 Aug 2012 11:29:16 +0200

commit 3995c0533b1ef1c3f7cbb95b9b45e5cb80865050
Author: Akim Demaille <address@hidden>
Date:   Fri Aug 3 11:16:03 2012 +0200

    tests: strengthen the trailing spaces check
    
    * tests/calc.at: here.
    * data/glr.c: Fix accordingly.

diff --git a/data/glr.c b/data/glr.c
index 7675ac3..ce81510 100644
--- a/data/glr.c
+++ b/data/glr.c
@@ -855,7 +855,7 @@ yyuserMerge (int yyn, YYSTYPE* yy0, YYSTYPE* yy1)
 
   switch (yyn)
     {
-      ]b4_mergers[
+]b4_mergers[
       default: break;
     }
 }
diff --git a/tests/calc.at b/tests/calc.at
index 89cc59e..03530a0 100644
--- a/tests/calc.at
+++ b/tests/calc.at
@@ -506,7 +506,9 @@ m4_define([AT_CHECK_SPACES],
 [# No initial empty lines.
 AT_CHECK([sed -ne '/./q;=;p;' $1])
 # No trailing spaces.
-# FIXME: For 2.7: AT_CHECK([sed -ne '/[ ]$/{=;p;}' $1])
+AT_CHECK([sed -ne '/[ ]$/{=;p;}' $1])
+# No tabulations.
+AT_CHECK([sed -ne '/[  ]/{=;p;}' $1])
 # No final empty lines.
 AT_CHECK([sed -ne '${/^$/{=;p;};}' $1])
 ])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]