bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU bison 1.75b] testsuite.log: 14 failures


From: Akim Demaille
Subject: Re: [GNU bison 1.75b] testsuite.log: 14 failures
Date: Mon, 06 Jan 2003 09:44:20 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

| Akim Demaille wrote:
| >  Bruce> Finally, there are some bad interactions between bison 1.75b
| >  Bruce> and flex 2.5.23: bison unconditionally #defines YYLTYPE, which
| >  Bruce> causes grief when location tracking is undesired, Why
| > exactly did this cause a problem?
| 
| Flex 2.5.2[345] %option header generates a header file that contains
| #ifdef YYLTYPE
| and that causes inappropriate declataions for yylex, etc. when the
| flex-generated header is included in the bison-generated parser.

YYLTYPE was a name invented in the Bison world: how can they use it
without asking us?  It seems to me that Flex cannot know what the
signature of yylex will be, it also depends whether the parser is pure
or not.  Unless explicitly told by the user, I fail to see how flex
could decide what the prototype of yylex will be.






reply via email to

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