bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: Missing \n


From: Akim Demaille
Subject: Re: FYI: Missing \n
Date: Wed, 17 Jan 2007 09:47:28 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

>>> "AD" == Akim Demaille <address@hidden> writes:

 > Hum, I always thought the feature was active for both nonterminals and
 > terminals.

I installed this:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * doc/bison.texinfo (Calc++ Parser): Don't try to alias
        nonterminals.
        Use per-type %printer.

Index: doc/bison.texinfo
===================================================================
RCS file: /cvsroot/bison/bison/doc/bison.texinfo,v
retrieving revision 1.220
diff -u -u -r1.220 bison.texinfo
--- doc/bison.texinfo 16 Jan 2007 13:11:30 -0000 1.220
+++ doc/bison.texinfo 17 Jan 2007 08:44:47 -0000
@@ -7969,7 +7969,7 @@
 %token        ASSIGN     ":="
 %token <sval> IDENTIFIER "identifier"
 %token <ival> NUMBER     "number"
-%type  <ival> exp        "expression"
+%type  <ival> exp
 @end example
 
 @noindent
@@ -7982,7 +7982,7 @@
 %printer    @{ debug_stream () << *$$; @} "identifier"
 %destructor @{ delete $$; @} "identifier"
 
-%printer    @{ debug_stream () << $$; @} "number" "expression"
+%printer    @{ debug_stream () << $$; @} <ival>
 @end example
 
 @noindent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]