[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: My plans for Bison: gitch in yacc.c
From: |
Eric S. Raymond |
Subject: |
Re: My plans for Bison: gitch in yacc.c |
Date: |
Wed, 13 Feb 2019 07:46:00 -0500 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
Akim Demaille <address@hidden>:
> So maybe you are referring to this change:
>
> https://github.com/akimd/bison/commit/2b5a27ba3db0f86d37eaef157cc5562082144ff3
>
> diff --git a/data/yacc.c b/data/yacc.c
> index e974319f..8e03c32f 100644
> --- a/data/yacc.c
> +++ b/data/yacc.c
> @@ -1207,6 +1207,7 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
> case N: \
> yyformat = S; \
> break
> + default: /* Avoid compiler warnings. */
> YYCASE_(0, YY_("syntax error"));
> YYCASE_(1, YY_("syntax error, unexpected %s"));
> YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
>
>
> which is part of v3.0.5 according to that very page.
That looks like it, yes. Sadly, Ubuntu 18.10 is only up to 3.04.
I think I'll poke bison's Debian and Ubuntu packagers about this.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.
- Re: My plans for Bison: simplify autotools use, (continued)
Re: My plans for Bison, Paul Eggert, 2019/02/12
Re: My plans for Bison: gitch in yacc.c, Akim Demaille, 2019/02/13
Re: My plans for Bison: history, Akim Demaille, 2019/02/13
- Re: My plans for Bison: history, Eric S. Raymond, 2019/02/13
- Re: My plans for Bison: history, Paul Eggert, 2019/02/13
- Re: My plans for Bison: history, Eric S. Raymond, 2019/02/13
- Re: My plans for Bison: history, Eric S. Raymond, 2019/02/13
- Re: My plans for Bison: history, Paul Eggert, 2019/02/13
- Re: My plans for Bison: history, Eric S. Raymond, 2019/02/13
- Re: My plans for Bison: history, Akim Demaille, 2019/02/14
- Re: My plans for Bison: history, Eric S. Raymond, 2019/02/14
- Re: My plans for Bison: history, Akim Demaille, 2019/02/14