yacc: remove trailing end of line at end of file

There are still spurious spaces at the end of some lines.  But this is
addressed in the master branch, and I am reluctant to try to backport
this.

* data/yacc.c, data/glr.c, data/lalr1.cc, data/glr.cc: here.
* tests/calc.at (AT_CHECK_SPACES): New.
Use it.
Be sure not to introduce trailing empty lines in the *.y files.
* NEWS: Doc it.
* cfg.mk (syntax-check): Remove the exception.
This commit is contained in:
Akim Demaille
2012-08-02 12:01:54 +02:00
parent 62a58c14bd
commit dcd5344dcd
9 changed files with 29 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.1.6-b045. */
/* A Bison parser, made by GNU Bison 2.6.1.12-3153-dirty. */
/* Bison implementation for Yacc-like parsers in C
@@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.6.1.6-b045"
#define YYBISON_VERSION "2.6.1.12-3153-dirty"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -3225,4 +3225,3 @@ char_name (char c)
return quotearg_style (escape_quoting_style, buf);
}
}

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.1.6-b045. */
/* A Bison parser, made by GNU Bison 2.6.1.12-3153-dirty. */
/* Bison interface for Yacc-like parsers in C