ITEM: H2676L

yacc stact overflow trying to convert awk to perl.




Question:

I am getting  a yacc stack overflow error when I am trying to convert
an awk program to a perl program. I am using a conversion program
called "a_to_p" which is distributed with perl.

Response:

Showed the Customer the YYMAXDEPTH \#define in the generated y.tab.c 
file. I showed him where to add the line

\#define YYMAXDEPTH      400

in the first yacc clause; this make the state stack 2.5 times as large
as the default (set to 150 if not \#defined elsewhere).


Support Line: yacc stact overflow trying to convert awk to perl. ITEM: H2676L
Dated: March 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:48
Comments or suggestions? Contact us