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 <[EMAIL PROTECTED]> 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. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
-- "Imagine. And then make it happen". _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison