From: Akim Demaille Date: Fri, 16 Mar 2012 13:29:43 +0000 (+0100) Subject: doc: save width. X-Git-Tag: v2.5.1_rc2~79 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6528a9915199761f9c9887d4152e5196a6c13449 doc: save width. * doc/bison.texinfo (Language and Grammar): Use the same layout for an example in all the versions, i.e., keep as general case what used to be used only for Info. (cherry picked from commit 1d280c0999ada8fc3fb0a96d01530948642f4444) --- diff --git a/doc/bison.texinfo b/doc/bison.texinfo index cee5b317..a5cdf52a 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -536,7 +536,6 @@ lexicography, not grammar.) Here is a simple C function subdivided into tokens: -@ifinfo @example int /* @r{keyword `int'} */ square (int x) /* @r{identifier, open-paren, keyword `int',} @@ -546,16 +545,6 @@ square (int x) /* @r{identifier, open-paren, keyword `int',} @r{identifier, semicolon} */ @} /* @r{close-brace} */ @end example -@end ifinfo -@ifnotinfo -@example -int /* @r{keyword `int'} */ -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} */ -@end example -@end ifnotinfo The syntactic groupings of C include the expression, the statement, the declaration, and the function definition. These are represented in the