* tests/output.at (AT_CHECK_OUTPUT): Another test, making sure

bison fails when trying to output a parser and a header under the
same name.
* src/files.c (compute_output_file_names): Refuse when parser and
header have the same name.
This commit is contained in:
Akim Demaille
2002-03-04 18:06:42 +00:00
parent 5d08b24fba
commit 4eeb7bc9a2
5 changed files with 43 additions and 4 deletions

4
NEWS
View File

@@ -3,6 +3,10 @@ Bison News
Changes in version 1.33b:
* File name clashes are detected
$ bison foo.y -d -o foo.x
fatal error: header and parser would be both named `foo.x'
* A missing `;' ending a rule triggers a warning
In accordance with POSIX, and in agreement with other
Yacc implementations, Bison will mandate this semicolon in a near