bug-bison
[Top][All Lists]
Advanced

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

[Fwd - Frm: address@hidden, Subj: bison 1.25 doc typo]


From: Free Software Foundation
Subject: [Fwd - Frm: address@hidden, Subj: bison 1.25 doc typo]
Date: Tue, 14 Nov 2000 14:30:08 -0500
User-agent: Mutt/1.2.5i

Please DTRT with this request.  Thanks.

----- Forwarded message from Hartmut Niemann <address@hidden> -----

To: address@hidden
From: Hartmut Niemann <address@hidden>
Date: Tue, 14 Nov 2000 14:26:59 +0100
Subject: bison 1.25 doc typo

In the HTML-one-file version of the docs seems to be a typo:
section "Actions in Mid-Rule"
contains aan example

stmt:   LET '(' var ')'
                { $<context>$ = push_context ();
                  declare_variable ($3); }
        stmt    { $$ = $6;
                  pop_context ($<context>5); }

which I think should read

stmt:   LET '(' var ')'
                { $<context>5 = push_context ();
                         ***^***


                  declare_variable ($3); }
        stmt    { $$ = $6;
                  pop_context ($<context>5); }

With best regards
 Hartmut Niemann

----- End forwarded message -----

-- 
Bradley M. Kuhn
Free Software Foundation     |  Phone: +1-617-542-5942
59 Temple Place, Suite 330   |  Fax:   +1-617-542-2652
Boston, MA 02111-1307  USA   |  Web:   http://www.gnu.org

Attachment: pgpvgtugom4HD.pgp
Description: PGP signature


reply via email to

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