Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Akim Demaille
> Le 25 août 2018 à 14:56, Hans Åberg a écrit : > > I was thinking of adding something like > "#".*\n{ yylloc.lines(1); yylloc.step(); } Ah, ok. > Then the example file could have comments like: > # Run calc++ > # Causes a deliberate error. Should report ... > > The idea is

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 08:51, Akim Demaille wrote: > >> Le 23 août 2018 à 07:34, Akim Demaille a écrit : >> >>> Le 21 août 2018 à 10:46, Hans Åberg a écrit : >>> >>> On 19 Aug 2018, at 17:23, Akim Demaille wrote: >> I would strongly suggest that you look at the examples/ in

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 08:51, Akim Demaille wrote: > >> Le 23 août 2018 à 07:34, Akim Demaille a écrit : >> >>> Le 21 août 2018 à 10:46, Hans Åberg a écrit : >>> >>> On 19 Aug 2018, at 17:23, Akim Demaille wrote: >> I would strongly suggest that you look at the examples/ in

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 08:51, Akim Demaille wrote: > >> Le 23 août 2018 à 07:34, Akim Demaille a écrit : >> >>> Le 21 août 2018 à 10:46, Hans Åberg a écrit : >>> >>> On 19 Aug 2018, at 17:23, Akim Demaille wrote: >> I would strongly suggest that you look at the examples/ in

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 08:51, Akim Demaille wrote: > >> Le 23 août 2018 à 07:34, Akim Demaille a écrit : >> >>> Le 21 août 2018 à 10:46, Hans Åberg a écrit : >>> >>> On 19 Aug 2018, at 17:23, Akim Demaille wrote: >> I would strongly suggest that you look at the examples/ in

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 08:10, Akim Demaille wrote: > >> Le 23 août 2018 à 14:09, Hans Åberg a écrit : >> >> >>> On 23 Aug 2018, at 13:14, Akim Demaille wrote: >>> Le 23 août 2018 à 10:34, Hans Åberg a écrit : This style with local.mk perhaps comes from an age where Automake

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 07:50, Akim Demaille wrote: > >> Le 23 août 2018 à 18:23, Hans Åberg a écrit : >> >> >>> On 23 Aug 2018, at 13:14, Akim Demaille wrote: >>> >>> ‘something’ is '%define api.value.type'. >> >> When used, the macro still overrides it, which might cause confusion if one

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Hans Åberg
> On 25 Aug 2018, at 07:54, Akim Demaille wrote: > >> Le 23 août 2018 à 14:24, Hans Åberg a écrit : >> >> [The examples] >> It might be good with a self-contained calc++ directory, with some input >> files, so that one can copy it, and start experimenting. An idea might be to >> add

Release candidate for Bison 3.1

2018-08-25 Thread Akim Demaille
Hi all! Please, give a try to the following release candidate. You may also extract it directly from the master branch of the git repository. https://www.lrde.epita.fr/~akim/private/bison/bison-3.0.5.100-de641.tar.gz https://www.lrde.epita.fr/~akim/private/bison/bison-3.0.5.100-de641.tar.xz It

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Akim Demaille
> Le 23 août 2018 à 07:34, Akim Demaille a écrit : > > > >> Le 21 août 2018 à 10:46, Hans Åberg a écrit : >> >> >>> On 19 Aug 2018, at 17:23, Akim Demaille wrote: >>> > I would strongly suggest that you look at the examples/ in Bison, the C++ > calculator I did look

Re: Enhancement request: enabling Variant in C parsers

2018-08-25 Thread Akim Demaille
> Le 23 août 2018 à 14:09, Hans Åberg a écrit : > > >> On 23 Aug 2018, at 13:14, Akim Demaille wrote: >> >>> Le 23 août 2018 à 10:34, Hans Åberg a écrit : >>> >>> This style with local.mk perhaps comes from an age where Automake was not >>> as smart. I use a Makefile.am. >> >> Totally