> Le 7 oct. 2018 à 15:14, Hans Åberg <[email protected]> a écrit :
>
>
>> On 6 Oct 2018, at 18:03, Akim Demaille <[email protected]> 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.