From: Paul Eggert Date: Fri, 22 Oct 2004 18:10:59 +0000 (+0000) Subject: (Language and Grammar): In example, "int" is a keyword, not an identifier. X-Git-Tag: BISON-2_0~86 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/14d4662b83018ca5177d1ff3cad2d5750b26e746 (Language and Grammar): In example, "int" is a keyword, not an identifier. --- diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 9d7dcd86..c29bc5e0 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -480,7 +480,7 @@ Here is a simple C function subdivided into tokens: @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-paren, identifier,} @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} */