From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamil Iskra To: Mark Mitchell Cc: gcc@gcc.gnu.org Subject: Re: GCC's statement expression extension Date: Sat, 05 Aug 2000 11:56:00 -0000 Message-id: References: <20000804132437A.mitchell@codesourcery.com> X-SW-Source: 2000-08/msg00139.html On Fri, 4 Aug 2000, Mark Mitchell wrote: > I'll fix the typo. I don't find the example unclear -- but I wrote > it. > > If you like, please write some additional explanatory text, and I will > be happy to incorporate it. Having thought about it again, I came to a conclussion that there is nothing more to explain about the example once you put "int" in front of "a". Now it's clear that "b" in the inline function simply doesn't have any significance. Still, I think that "b" should simply be eliminated. A one-liner example with nonrelevant code in it strikes me as odd. YMMV. It's a minor issue anyway. For refence, here's what I suggest: --- extend.texi.orig Sat Aug 5 19:13:21 2000 +++ extend.texi Sat Aug 5 19:25:27 2000 @@ -203,7 +203,7 @@ handled. For example: does not work the same way as: @example -inline int foo(int a) @{ int b = a; return b + 3; @} +inline int foo(int a) @{ return a + 3; @} @end example @noindent -- / Kamil Iskra kamil@wins.uva.nl \ | Section Computational Science, Faculty FNWI, Universiteit van Amsterdam | | tel. +31 20 525 75 35 fax. +31 20 525 74 90 | \ Kruislaan 403 room F.202 1098 SJ Amsterdam (NL) /