No, you dont need to use the C++ skeleton. Just put an extern "C" declaration at the beggining of your parser file (.y file) e.g.,
extern "C" { int yyparse ( void ); int yylex ( void ); int yywrap (); void yyerror ( char* ); } satya. -- Work expands to fill the time available for its completion (Parkison's law). http://cs.uic.edu/~spopuri On 12/11/06, Michel Meynard <[EMAIL PROTECTED]> wrote:
Hello i want to write a parser with bison using some containers from STL but i don't need an oriented objet parser : yyparse() is sufficient for me ! Have i to use skeleton and all the C++ stuff of bison manual ? -- Cordialement, Michel Meynard. ---------------------------------------- Michel Meynard (e-mail : [EMAIL PROTECTED]) 161, rue ada 34392 Montpellier Cedex 5 France tel. : (33) 04 67 41 85 40 fax : (33) 04 67 41 85 00 web : www.lirmm.fr/~meynard _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
_______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison