Top Dowm Variable Communication

2007-08-22 Thread Arijit Das
Even though Bison is a bottom up parser, if I need to pass a variable's content top-down, what are the possible ways (except using global variable)? Register_decl : REGISTER IDENTIFIER Register_decl_contd { Char * register_name = $2;

How to get rid of "expecting" message?

2007-08-08 Thread Arijit Das
Greetings All, I have a Bison defined Parser on which if I am feeding: block ral_top { bytes 1 field fld1 field fld2 } And the parser definition looks somewhat like this: global_block_definition : BLOCK IDENTIFIER '{' block_properties '}' block_properties : blo