Re: Generated parser searching for y.tab.c

2006-11-30 Thread Paulo J. Matos
On 11/30/06, Paulo J. Matos <[EMAIL PROTECTED]> wrote: Any ideas on how to solve this issue? Solved using --defines=... command lne argument. I vote for being possible to do this using a bison declaration. Regards, Paulo Matos Regards, -- Paulo Jorge Matos - pocm at soton.ac.uk http://ww

Re: Wishlist: Allow %defines to specify filename, just like --defines=

2006-11-30 Thread Paulo J. Matos
On 8/21/06, Frans Englich <[EMAIL PROTECTED]> wrote: Hello, I have a wishlist for Bison: It would be practical if the %defines directive allows the filename to be explicitly specified, just like for --defines. For example, --defines=MyFile.h works, but something like: %defines=MyFile.h doe

Generated parser searching for y.tab.c

2006-11-30 Thread Paulo J. Matos
Hi all, I'm defining a parser: foo.yy: %name-prefix="foo" %skeleton "lalr1.cc" /* -*- C++ -*- */ %require "2.1a" %defines %yacc %{ ... %} ... I have in my configure.ac: ... # Checks for programs. AC_LANG([C++]) AC_PROG_CXX AC_PROG_CC AC_PROG_YACC AC_PROG_LEX ... And