Re: YY_USER_INIT for YACC

2010-04-11 Thread Joel E. Denny
On Sun, 11 Apr 2010, August Karlstrom wrote: > Does anyone know if YACC has a macro corresponding to LEX's YY_USER_INIT Flex has YY_USER_INIT, but Lex does not. Bison has %initial-action, but Yacc does not. ___ help-bison@gnu.org http://lists.gnu.or

YY_USER_INIT for YACC

2010-04-11 Thread August Karlstrom
Hi, Does anyone know if YACC has a macro corresponding to LEX's YY_USER_INIT, or do I have to call the parser init function explicitly from the main function (which in this case is defined in a separate source file)? Regards, August ___ help-bi