[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] ylwrap: fix C++ support
From: |
Stefano Lattarini |
Subject: |
Re: [PATCH 4/4] ylwrap: fix C++ support |
Date: |
Sat, 14 Jul 2012 12:10:41 +0200 |
Hi Akim.
On 07/14/2012 10:32 AM, Akim Demaille wrote:
> 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.
>
I've amended this patch to reference the bug you've fixed, and to add
the original reporter of that bug in THANKS.
Regards,
Stefano
- Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers, (continued)
- Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers, Stefano Lattarini, 2012/07/14
- [PATCH 0/4] ylwrap: support C++ and others that generate several files, Akim Demaille, 2012/07/14
- [PATCH 1/4] tests: upgrade and fix Bison test case, Akim Demaille, 2012/07/14
- Re: [PATCH 1/4] tests: upgrade and fix Bison test case, Stefano Lattarini, 2012/07/14
- Re: [PATCH 1/4] tests: upgrade and fix Bison test case, Akim Demaille, 2012/07/14
- Re: [PATCH 1/4] tests: upgrade and fix Bison test case, Stefano Lattarini, 2012/07/14
- Re: [PATCH 1/4] tests: upgrade and fix Bison test case, Akim Demaille, 2012/07/14
- [PATCH 2/4] ylwrap: refactoring: don't rely on the file order, Akim Demaille, 2012/07/14
- [PATCH 3/4] ylwrap: refactor: move loop invariant, Akim Demaille, 2012/07/14
- [PATCH 4/4] ylwrap: fix C++ support, Akim Demaille, 2012/07/14
- Re: [PATCH 4/4] ylwrap: fix C++ support,
Stefano Lattarini <=
- Re: [PATCH 0/4] ylwrap: support C++ and others that generate several files, Stefano Lattarini, 2012/07/14
- Re: [PATCH 0/4] ylwrap: support C++ and others that generate several files, Stefano Lattarini, 2012/07/14
- yacc-work: rebased on maint, one more fixlet (was: Re: [PATCH 0/4] ylwrap: support C++ and others that generate several files), Stefano Lattarini, 2012/07/14
- Re: yacc-work: rebased on maint, one more fixlet (was: Re: [PATCH 0/4] ylwrap: support C++ and others that generate several files), Akim Demaille, 2012/07/14
- Re: yacc-work: rebased on maint, one more fixlet, Stefano Lattarini, 2012/07/14
- Re: [PATCH 0/4] ylwrap: support C++ and others that generate several files, Akim Demaille, 2012/07/14
- Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers, Stefano Lattarini, 2012/07/14
- Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers, Stefano Lattarini, 2012/07/14
- Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers, Akim Demaille, 2012/07/15
- Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers, Stefano Lattarini, 2012/07/16