Re: my problem is "$"

2007-06-30 Thread Fernando Ferreira
s to be copying the first token on the right side of the rule to the stemp variable, but without seeing more code, that is just speculation. Hope it helps, Fernando Ferreira ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

C++ skeleton, questions about location.hh and position.hh

2007-06-24 Thread Fernando Ferreira
ject as a header file on $PREFIX/include? Thanks for your time, and have a good day! Fernando Ferreira ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Fernando Ferreira
Ralf Wildenhues wrote: Hello Fernando, * Fernando Ferreira wrote on Fri, Jun 22, 2007 at 01:42:25PM CEST: [...] # You need to invoke gt_JAVACOMP yourself, possibly with arguments. AC_CONFIG_FILES( :build-aux/ ) # You need to invoke gt_JAVAEXEC yourself, possibly with arguments

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Fernando Ferreira
Hans Aberg wrote: On 22 Jun 2007, at 13:42, Fernando Ferreira wrote: Greetings, fellow developers! I'm trying to compile bison from CVS, but it keeps failing at bootstrap phase. Here is what I'm doing: cvs -d:pserver:[EMAIL PROTECTED]:/sources/bison co bison cd bison/ .

Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Fernando Ferreira
, it suffices to change s|AC_CONFIG_FILES(\(.*\):build-aux/\(.*\))|AC_CONFIG_FILES(\1:'"$auxdir"'/\2)| by s|AC_CONFIG_FILES(\(.*\):build-aux/\(.*\))|AC_CONFIG_FILES(\\1:'"$auxdir"'/\\2)| on gnulib/gnulib-tool, line 2174 to solve this one little bug.

Re: Feature request

2007-06-21 Thread Fernando Ferreira
Hans Aberg wrote: On 21 Jun 2007, at 11:26, Hans Aberg wrote: In order to make it simple for you, you might add a macro in the skeleton file. One variation might be (don't remember) to add a macro something like b4_prereduction_code and then use in the .y file %define prereduction_code {...}

Re: Feature request

2007-06-20 Thread Fernando Ferreira
Hans Aberg wrote: On 20 Jun 2007, at 20:12, Fernando Ferreira wrote: I have you tried to put it into yacc.c, somewhere between "yyreduce:" and "switch (yyn)"? Yes, and that would work, but them every time I recompile the .yy file with bison I would have to manually chang

Re: Feature request

2007-06-20 Thread Fernando Ferreira
Evan Lavelle wrote: Fernando Ferreira wrote: The reason for my request is that, as bison generates LR parsers, there is no way to, for instance, execute an action before a rule is reduced, only after. I've never tried an action at the start of a rule, but I'm pretty sure that you

Re: Feature request

2007-06-20 Thread Fernando Ferreira
Hans Aberg wrote: On 20 Jun 2007, at 12:28, Fernando Ferreira wrote: I'm a huge fan of this project and I'm using it for several of my small personal project (hopefully one day I will get to finish and publish one of them). I use both flex and bison C++ Language Interface (not t

Feature request

2007-06-20 Thread Fernando Ferreira
er. Thanks in advance for the patience to understand my garbled english (as it is patent, english is not my 1st language). And keep up the good work! Fernando Ferreira ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison