]> git.saurik.com Git - bison.git/commit
output: do not generate source files when late errors are caught
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 4 Dec 2013 09:51:47 +0000 (10:51 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 4 Dec 2013 14:53:01 +0000 (15:53 +0100)
commit461983270c01b28cbb73424535408c8aded31573
tree8915bd237e340f57e0582b77e33919273361bb29
parentea99d6e6a02a06bd63e788393fd42cde5cb1fa71
output: do not generate source files when late errors are caught

Reported by Alexandre Duret-Lutz as "second problem" in:
http://lists.gnu.org/archive/html/bug-bison/2013-09/msg00015.html

* bootstrap.conf: We need the "unlink" module.
* src/files.h, src/files.c (unlink_generated_sources): New.
* src/output.c: Use it.
* tests/output.at: Check the case of late errors.
bootstrap.conf
src/files.c
src/files.h
src/output.c
tests/output.at