Re: variables of different classes

2008-04-30 Thread Bob Smith
s semantic action. To re-assign an existing name (that is, a VAR or FCN), simply duplicate the three assignment rules twice to start with VAR '=' and then FCN '='. This is just a start to a more complicated and involved grammar. -- _

Name Conflict With Multiple Parsers In Same Program

2007-06-11 Thread Bob Smith
yy_reduce_print #define yydestruct fh_yydestruct however, wouldn't it be a better idea if %name-prefix changed those four names as well? -- ___ Bob Smith - [EMAIL PROTECTED] - http://www.sudleyplace.com ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Token redefinition

2006-11-17 Thread Bob Smith
nice when the name for the token consists of multiple words: %token t_DECIMAL_LITERAL "decimal literal" You probably did not read the OP, who wants the macro names unchanged! The question seems to be how to avoid name clashes without changing their names. :-) How about #un

Re: Feature Request: Help for S/R and R/R Errors

2006-10-29 Thread Bob Smith
grammars, I think, so you might explain your ideas to him. Hans Aberg On 29 Oct 2006, at 02:54, Bob Smith wrote: On 27 Oct 2006, at 19:42, Bob Smith wrote: When Bison encounters a S/R or R/R error, it would be helpful if it could also write to the output file an input stream which would

Re: Feature Request: Help for S/R and R/R Errors

2006-10-28 Thread Bob Smith
On 10/28/2006 3:56 PM, Hans Aberg wrote: On 27 Oct 2006, at 19:42, Bob Smith wrote: When Bison encounters a S/R or R/R error, it would be helpful if it could also write to the output file an input stream which would trigger the error. That way, the user could run the input stream through

Feature Request: Help for S/R and R/R Errors

2006-10-27 Thread Bob Smith
hese lines would be welcome. -- _______ Bob Smith - [EMAIL PROTECTED] - http://www.sudleyplace.com smime.p7s Description: S/MIME Cryptographic Signature ___ help-bison@gnu.org http://lists.gnu.o

Re: Debugging Bison Under Windows (SUCCESS)

2006-10-26 Thread Bob Smith
va_end (vl); } // End yyfprintf On 10/26/2006 11:58 AM, Bob Smith wrote: I must be missing something. I am already using yyerror () to capture error messages ("syntax error", "memory exhausted", etc.), but I want to capture debugging output as well. That output is,

Re: Debugging Bison Under Windows

2006-10-26 Thread Bob Smith
a non re-entrant version (globals being used if context information is required). You can use this function to do what you want with the message. Hope this helps. Regards Ramaswamy -- _______ Bob Smith - [EMAIL PROTECTED] - http://www.sudley

Debugging Bison Under Windows

2006-10-25 Thread Bob Smith
ricky problem before. Any help you can provide is greatly appreciated. -- _______ Bob Smith - [EMAIL PROTECTED] - http://www.sudleyplace.com smime.p7s Description: S/MIME Cryptographic Signature ___