help-bison
[Top][All Lists]
Advanced

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

Re: Big function in generated c file


From: Satya
Subject: Re: Big function in generated c file
Date: Mon, 14 Aug 2006 15:53:35 -0500

The case statements execute the semantic actions in your grammar; so if you
can reduce the number of semantic actions, yyparse() function will be
smaller (there is one case for each rule that has an action associated with
it);

satya.

On 8/14/06, adhip <address@hidden> wrote:



I am using bison to generate a C-file which is a hdl parser. The generated
C-file has
a big function yyparse having a lot of case statements. Now gcc 3.4.3(64
bit) on
HPUX-11.00 cannot compile this huge file and is coing out silently. Could
you please
help me how to get rid of this problem?


--
View this message in context:
http://www.nabble.com/Big-function-in-generated-c-file-tf2105336.html#a5802795
Sent from the Gnu - Bison - Help forum at Nabble.com.



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




--
"Imagine. And then make it happen".


reply via email to

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