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.
--
_
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
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
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
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
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
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,
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
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
___