[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, yacc-work, created. v1.12.2
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, yacc-work, created. v1.12.2-23-g6c4cbbc |
Date: |
Sat, 14 Jul 2012 10:33:27 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=6c4cbbc2c65c27ff2acad2470008580ed375a288
The branch, yacc-work has been created
at 6c4cbbc2c65c27ff2acad2470008580ed375a288 (commit)
- Log -----------------------------------------------------------------
commit 6c4cbbc2c65c27ff2acad2470008580ed375a288
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 12:31:19 2012 +0200
yacc tests: fix a spurious failure with parallel make
* t/yacc-bison-skeleton.sh (Makefile.am): Add 'zardoz.h'
to BUILT_SOURCES.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 4a6c465cebf73137c71838b5eab2c0f657b79a6e
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 11:07:34 2012 +0200
ylwrap: use proper quoting inside a `...` substitution
* lib/ylwrap ($target): Here, when redefining this to a temporary file.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 3ac67f802ca2ffe70774f8d8eb9c965996084f4d
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 11:04:42 2012 +0200
ylwrap: don't uselessly reset the exit status in case of failure
* lib/ylwrap: Here. In case of a failure in the wrapped yacc/lex
invocation, '$ret' (holding the final exit status of ylwrap) was
being uselessly reset to '1' in the later if/else.
Signed-off-by: Stefano Lattarini <address@hidden>
commit f6aea1ef9895843ac3235f2a8b8529d0dd9aead0
Author: Akim Demaille <address@hidden>
Date: Sat Jul 14 10:11:03 2012 +0200
ylwrap: fix C++ support for Bison
Fixes automake bug#7648.
The current logic of ylwrap is to call yacc in a sub directory, and
pull out of it all the files that were request on its command line.
Reverse this approach: export *all* the files created in the
subdirectory, but rename then according to what the command says.
This way, extra files, such as position.hh, location.hh and stack.hh
for C++ parsers, but also parser.xml or parser.dot if XML or Dot
output is enabled, will be preserved.
* lib/ylwrap (pairlist): Remove.
(main loop): Don't loop over pairlist, but over the files in the
temporary directory.
* t/list-of-tests.mk (XFAIL_TESTS): Fixes t/yacc-bison-skeleton-cxx.sh.
* THANKS (James Bostock): Add, he reported bug#7648.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 59c0388ec11a66818bbc30bb4c6d0d0aa7fcfffd
Author: Akim Demaille <address@hidden>
Date: Sat Jul 14 10:09:15 2012 +0200
ylwrap: refactor: move loop invariant
* lib/ylwrap (input_rx): Move its definition next to its sibling's,
outside of the main loop.
commit 6191b8b8a9b6e3d055894e6181bed134565a5324
Author: Akim Demaille <address@hidden>
Date: Sat Jul 14 10:08:52 2012 +0200
ylwrap: refactoring: don't rely on the file order
Forthcoming changes will make us iterate over the files in a different
order.
lib/ylwrap (first): Remove, replaced by...
(parser): this.
commit 9a6a600138d30d36e02d186625cc3932d4624aec
Author: Akim Demaille <address@hidden>
Date: Sat Jul 14 10:01:40 2012 +0200
tests: upgrade and fix Bison test case
* t/yacc-bison-skeleton-cxx.sh: Request locations, to be
even more stressful.
Use %union to make sure the %{...%} is inserted where appropriate.
Fix some indentation/coding style issues.
commit 9404f529bc178d75ee8003853e1fa67281cd080d
Author: Akim Demaille <address@hidden>
Date: Sat Jul 14 09:07:52 2012 +0200
tests: fix bison input file
Do not provide implementations in the %{...%} section, especially if the
header is included elsewhere, since then the linker will complain about
multiple definitions.
Reported by Stefano Lattarini,
<http://lists.gnu.org/archive/html/automake-patches/2012-07/msg00126.html>.
* t/yacc-bison-skeleton.sh (zardoz.y): Define yylex and yyerror in the
epilogue.
commit 7e31ff5cb4b744454774c73032e95bba0a481506
Author: Akim Demaille <address@hidden>
Date: Fri Jul 13 13:14:44 2012 +0200
ylwrap: comment changes
* lib/ylwrap: Improve some comments.
commit 0a25f35b5d0a4d2acb5a72f25cf25ecc0d8e84dd
Author: Akim Demaille <address@hidden>
Date: Fri Jul 13 14:33:38 2012 +0200
ylwrap: modernize idioms
* lib/ylwrap: Prefer printf to echo when special characters may
occur.
Replace the historical ',' sed separator with '|'.
commit be2bb639757a723d44809678d0c21cd429a321cd
Author: Akim Demaille <address@hidden>
Date: Fri Jul 13 14:32:22 2012 +0200
ylwrap: rename header inclusion in generated parsers
Some types of Bison parsers, such as the GLR ones, generate a header
file that they include. ylwrap, which renames the generated files,
does not rename the included file. Fix this shortcoming, reported
for instance here:
<http://lists.gnu.org/archive/html/bug-bison/2012-06/msg00033.html>.
Fixes t/yacc-bison-skeleton.sh, see Automake bug#7648 and PR automake/491.
* lib/ylwrap (quote_for_sed): Accept arguments.
Catch more special characters.
(rename_sed): New.
Improve the previous renaming sed commands using quote_for_sed.
Suggested by Stefano Lattarini here:
<http://lists.gnu.org/archive/html/automake-patches/2012-07/msg00095.html>.
(main loop): Use rename_sed to rename the dependencies to other files.
* t/yacc-d-basic.sh: Exercise this case, even if bison/yacc was
not issuing such an include.
* t/list-of-tests.mk (XFAIL_TESTS): Adjust.
commit 1a871ca02705c1225a75bb024119efbf56ab19c4
Author: Akim Demaille <address@hidden>
Date: Thu Jul 12 15:13:29 2012 +0200
ylwrap: simplify the list of renamings
* lib/ylwrap (pairwise): Instead of being a straightforward copy from
the command line arguments, and having to deal with y.tab vs. y_tab
later, let pairwise store the real file names to process, y_tab
conversion included when needed.
(main loop): Use $to instead of $2, for symmetry with $from.
commit 4294cbb03034099f59238eee28accabf790866d0
Author: Akim Demaille <address@hidden>
Date: Thu Jul 12 14:52:44 2012 +0200
ylwrap: refactor: less duplication
* lib/ylwrap (guard): New function.
Move functions before actual code.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, yacc-work, created. v1.12.2-23-g6c4cbbc,
Stefano Lattarini <=