bug-bison
[Top][All Lists]
Advanced

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

Re: Bison manual clarification


From: Paul Eggert
Subject: Re: Bison manual clarification
Date: Fri, 22 Oct 2004 11:11:51 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks for your bug report.  I installed this patch to the sources,
and this will eventually propagate to the web site.

2004-10-22  Paul Eggert  <address@hidden>

        * doc/bison.texinfo (Language and Grammar): In example, "int" is a
        keyword, not an identifier.  Problem reported by Baron Schwartz in
        <http://lists.gnu.org/archive/html/bug-bison/2004-10/msg00017.html>.

Index: doc/bison.texinfo
===================================================================
RCS file: /cvsroot/bison/bison/doc/bison.texinfo,v
retrieving revision 1.133
retrieving revision 1.134
diff -p -u -r1.133 -r1.134
--- doc/bison.texinfo   24 Sep 2004 11:55:40 -0000      1.133
+++ doc/bison.texinfo   22 Oct 2004 18:10:59 -0000      1.134
@@ -480,7 +480,7 @@ Here is a simple C function subdivided i
 @ifinfo
 @example
 int             /* @r{keyword `int'} */
-square (int x)  /* @r{identifier, open-paren, identifier,}
+square (int x)  /* @r{identifier, open-paren, keyword `int',}
                    @r{identifier, close-paren} */
 @{               /* @r{open-brace} */
   return x * x; /* @r{keyword `return', identifier, asterisk,
@@ -491,7 +491,7 @@ square (int x)  /* @r{identifier, open-p
 @ifnotinfo
 @example
 int             /* @r{keyword `int'} */
-square (int x)  /* @r{identifier, open-paren, identifier, identifier, 
close-paren} */
+square (int x)  /* @r{identifier, open-paren, keyword `int', identifier, 
close-paren} */
 @{               /* @r{open-brace} */
   return x * x; /* @r{keyword `return', identifier, asterisk, identifier, 
semicolon} */
 @}               /* @r{close-brace} */




reply via email to

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