> Le 19 août 2015 à 15:38, Kaz Kylheku <k...@kylheku.com> 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.