help-bison
[Top][All Lists]
Advanced

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

Re: bug in post-1.33 version?


From: Yuri van Oers
Subject: Re: bug in post-1.33 version?
Date: Mon, 22 Apr 2002 12:15:00 +0200 (CEST)

On 22 Apr 2002, Akim Demaille wrote:

> >>>>> "Yuri" == Yuri van Oers <address@hidden> writes:
>
> Yuri> On 19 Apr 2002, Akim Demaille wrote:
>
> >> >>>>> "Yuri" == Yuri van Oers <address@hidden> writes:
> >>
> Yuri> My program, compiled with 1.33 on my PC, works fine.  But after
> Yuri> I compiled it with 1.35 on my laptop, I get a lot of Parser
> Yuri> Stack Overflows.
> >> We need to know more about your grammar and parser input.
> >>
> >> The stack no longer grows automatically when Bison cannot know if
> >> growing the stack is sane.  For instance, it is not in the case of
> >> C++.  Therefore, if you happen use the Bison C parsers in C++, you
> >> might find this problem.
>
> Yuri> My grammar describes VBScript. The language isn't typesafe, and
> Yuri> there's no runtime information. That makes for a pretty tricky
> Yuri> grammar. I can imagine it would need to grow the stack in
> Yuri> certain cases.
>
> My question is not related to the complexity of the grammar.  I'm
> really asking you how you define YYSTYPE.  Do you use %union?
> That is the relevant information I need.

#define YYSTYPE char*

I'm not using %union.




reply via email to

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