help-bison
[Top][All Lists]
Advanced

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

RE: stack overflow in c++


From: Urdaneta, Alfonso E (N-Summitt Technologies)
Subject: RE: stack overflow in c++
Date: Thu, 20 Mar 2003 17:16:43 -0500

stack overflow is caused by uncontrolled recursion.  

the maxdepth and initdepth are unrelated to the stack.



-----Original Message-----
From: Mhaxx [mailto:address@hidden
Sent: Thursday, March 20, 2003 5:11 PM
To: Bison Help
Subject: Re: stack overflow in c++


Hello, I've found an yout post... so I decided to write to you to ask if you
have any ideas about my incredibile problem...

When I run my parser I get the error: "parser stack overflow".
I've insert into my parser these two rows:
#define YYMAXDEPTH 1000000
#define YYINITDEPTH 10000
but I get the same error, at the same point! (it seems like my two rows are
ignored...)

I've noted "parser stack overflow" appears under Windows but not under
Linux, I don't know why.

Could you tell me something to do?
I hope you can help me... T.I.A.

Best regards,
Mhaxx




_______________________________________________
address@hidden http://mail.gnu.org/mailman/listinfo/help-bison




reply via email to

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