bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/8] provide more control over C++ file names


From: Akim Demaille
Subject: Re: [PATCH 0/8] provide more control over C++ file names
Date: Mon, 8 Oct 2018 13:48:52 +0200


> Le 7 oct. 2018 à 15:14, Hans Åberg <address@hidden> a écrit :
> 
> 
>> On 6 Oct 2018, at 18:03, Akim Demaille <address@hidden> wrote:
>> 
>> I think I have finally reached a point where I have implemented
>> everything I had on my mind about the names of the auxiliary files in
>> C++.  If I had known earlier what a burden it is, I guess I would have
>> hesitated more...  But I really wanted two C++ parsers to be able to
>> export and use a single location.hh file.
> 
> It might be in its own namespace with a Bison version number in it. Then if 
> it is present, Bison only updates it if versions differ. This avoids unneeded 
> file dependency recompilation.

Yes, lazy updates is something I’d like to have in the future.

https://lists.gnu.org/archive/html/bison-patches/2018-09/msg00151.html

On 28 Sep 2018, at 07:06, Akim Demaille wrote:

> There’s another advantage with this wrapper: the file is not
> updated if the content did not change, which is almost always
> for location.hh and the others.  This saves me from useless
> compilations.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]