]> git.saurik.com Git - bison.git/commit
Always put auxiliary code files in the same dir as other output files.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 30 Oct 2008 19:35:01 +0000 (15:35 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 30 Oct 2008 19:43:11 +0000 (15:43 -0400)
commitcae5057f472945d5947cffbc39d56ee7c6995357
treee8d4638b6aecf7405afe82901589110bb7ef6b87
parent4af432ba25fdfc4555a423bad118bc4828947448
Always put auxiliary code files in the same dir as other output files.

* src/files.c (compute_file_name_parts): When the user specifies
--output but not --file-prefix, extract the directory prefix from the
file prefix not from the grammar file name.  This affects the location
of files like location.hh generated by the C++ skeleton.  The includes
in the other output files require this fix.
* tests/output.at (AT_CHECK_OUTPUT): Automatically create directories
for expected output files.
(Output files): Add a test for the above.
ChangeLog
src/files.c
tests/output.at