[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yyparse being prototyped in y.tab.h causes problems.
From: |
Akim Demaille |
Subject: |
Re: yyparse being prototyped in y.tab.h causes problems. |
Date: |
Wed, 19 Aug 2015 20:26:37 +0200 |
> Le 19 août 2015 à 15:38, Kaz Kylheku <address@hidden> a écrit :
>
> On 18.08.2015 23:24, Akim Demaille wrote:
>> As you reported, the standard does not even report YYSTYPE,
>> which is clearly needed.
>
> Reported to Austin group yesterday;
>
> http://austingroupbugs.net/view.php?id=977
Your example seems to be about a pure parser, where yystype is given as
argument. I think it should rather be about yylval.
>
>>> Anything that is broken doesn't address needs.
>> :) I agree. But I guess our opinions diverge on the definition
>> of brokenness.
>
> I'm going by "fails to compile".
Sure. But you didn't answer to my final remarks:
> But really, what's wrong with adding
>
> typedef struct parser_context parser_context;
>
> in your parser.h before the #include "y.tab.h"? There is
> no need for this mutual inclusion.
- yyparse being prototyped in y.tab.h causes problems., Kaz Kylheku, 2015/08/14
- Re: yyparse being prototyped in y.tab.h causes problems., Akim Demaille, 2015/08/18
- Re: yyparse being prototyped in y.tab.h causes problems., Akim Demaille, 2015/08/18
- Re: yyparse being prototyped in y.tab.h causes problems., Kaz Kylheku, 2015/08/18
- Re: yyparse being prototyped in y.tab.h causes problems., Akim Demaille, 2015/08/19
- Re: yyparse being prototyped in y.tab.h causes problems., Kaz Kylheku, 2015/08/19
- Re: yyparse being prototyped in y.tab.h causes problems.,
Akim Demaille <=
- Re: yyparse being prototyped in y.tab.h causes problems., Kaz Kylheku, 2015/08/19