#line should have quoted strings.

Ideally, this should be done by m4_quotearg.
* src/scan-skel.l: Include quotearg.h.
Quote __ofile__.
* src/output.c (symbol_printers_output)
(symbol_destructors_output): Quote the file name.
This commit is contained in:
Akim Demaille
2002-11-06 16:22:04 +00:00
parent 3d9a71d28a
commit 6e40b4ebd4
4 changed files with 29 additions and 10 deletions

17
NEWS
View File

@@ -8,13 +8,6 @@ Changes in version 1.75b:
* --no-line works properly.
Changes in version 1.75a, 2002-10-24:
* Bison can no longer be built by a K&R C compiler; it requires C89 or
later to be built. This change originally took place a few versions
ago, but nobody noticed until we recently asked someone to try
building Bison with a K&R C compiler.
* %error-verbose
This new directive is preferred over YYERROR_VERBOSE.
@@ -26,6 +19,16 @@ Changes in version 1.75a, 2002-10-24:
* #line
Bison now recognizes #line in its input, and forwards them.
* #line
File names are properly escaped. E.g. foo\bar.y give #line 123 "foo\\bar.y".
Changes in version 1.75a, 2002-10-24:
* Bison can no longer be built by a K&R C compiler; it requires C89 or
later to be built. This change originally took place a few versions
ago, but nobody noticed until we recently asked someone to try
building Bison with a K&R C compiler.
Changes in version 1.75, 2002-10-14:
* Bison should now work on 64-bit hosts.