bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: unknown type name 'yyscan_t'


From: Marcin Slusarz
Subject: Re: error: unknown type name 'yyscan_t'
Date: Tue, 2 Oct 2012 17:18:29 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Oct 01, 2012 at 11:25:01AM +0200, Akim Demaille wrote:
> 
> Le 28 sept. 2012 à 20:41, Marcin Slusarz a écrit :
> 
> > Hi
> > 
> > With bison >= 2.6 I'm unable to compile envytools 
> > (https://github.com/pathscale/envytools):
> > 
> > In file included from easm_parse.y:28:0:
> > /data1/gfx/envytools/easm/easm_parse.h:124:17: error: unknown type name 
> > 'yyscan_t'
> > 
> > yyscan_t is referenced in easm_parse.h, but never defined, so it looks like
> > bison bug. Is it correct?
> 
> I just typed "yyscan_t" on Google, and found this:
> 
> http://flex.sourceforge.net/manual/About-yyscan_005ft.html

Thanks, I was googling for full error message and couldn't find anything
relevant.

> Nothing related to Bison here.

Heh, downgrading Bison helps, so it's not that obvious. And if I understand
the code correctly, yyscan_t has valid use here (but my Bison/Flex experience
is close to 0).

Well, if you think it's not Bison's fault, we can always "fix it" like in
the attached patch...

Marcin

Attachment: 0001-easm-fix-build-with-bison-2.6.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]