]> git.saurik.com Git - bison.git/commit
Implement support for relative and absolute skeleton file names.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 18 Jan 2007 02:18:17 +0000 (02:18 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 18 Jan 2007 02:18:17 +0000 (02:18 +0000)
commita7867f53b3d63c94a5f73ffd48629069919ab3d4
tree79085f1298c21bb6b744908422cf4553a9424fb5
parent830c9b1847f35d01a748203423b893378a7bca85
Implement support for relative and absolute skeleton file names.
Discussed starting at
<http://lists.gnu.org/archive/html/bison-patches/2006-12/msg00071.html>.
* doc/bison.texinfo (Decl Summary): Document in %skeleton entry.
(Bison Options): Document in --skeleton entry.
* src/output.c (output_skeleton): Use strncpy rather than strcpy since
full_skeleton can't necessarily hold all of pkgdatadir.
If the specified skeleton file name contains a `/', don't prepend
pkgdatadir.
* src/parse-gram.y (prologue_declaration): If the specified skeleton
file name contains a `/', prepend the grammar file directory.
* tests/Makefile.am (TESTSUITE_AT): Add skeletons.at.
* skeletons.at: New file.
(relative skeleton file names): New test case.
(installed skeleton file names): New test case.
* tests/testsuite.at: Include skeletons.at.

* bootstrap: Update copyright to 2007.
ChangeLog
bootstrap
doc/bison.texinfo
src/output.c
src/parse-gram.c
src/parse-gram.y
tests/Makefile.am
tests/skeletons.at [new file with mode: 0644]
tests/testsuite.at