Re: Reporting malloc failure in actions

2020-12-31 Thread Christian Schoenebeck via Users list for the GNU Bison parser generator
On Mittwoch, 30. Dezember 2020 19:50:05 CET Joe Nelson wrote: > > void* p = malloc(n); > > if (!p) { > > > > fprintf(stderr, "Parser: malloc(%s) with size %zu failed. > > Aborting. \n", > > > > expr, n); > > Might be more flexible to call

Re: Meson build definition

2020-12-20 Thread Christian Schoenebeck via Users list for the GNU Bison parser generator
On Sonntag, 20. Dezember 2020 12:33:45 CET Daniele Nicolodi wrote: > On 20/12/2020 08:09, Akim Demaille wrote: > > Hi Daniele, > > > >> Le 19 déc. 2020 à 20:17, Daniele Nicolodi a écrit : > >> > >> Hello, > >> > >> I am working on a project that uses Bison to generate a parser and Meson > >> as