This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH]: Fix 11295 - Make statement exprs work properly inC++
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Mark Mitchell <mitchell at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 01 Aug 2003 10:27:40 +0100
- Subject: Re: [C++ PATCH]: Fix 11295 - Make statement exprs work properly inC++
- Organization: Codesourcery LLC
- References: <3F280401.6000505@codesourcery.com> <1059696879.17539.86.camel@doubledemon.codesourcery.com>
Mark Mitchell wrote:
+ tf_stmt_expr = 1 << 6, /* tsubsting the statement of a
statement
+ expr. */
+ tf_stmt_exprs = 1 << 7 /* tsubsting the statements of a
statement
+ expr. */
"the statement" vs "the statements" isn't terribly clear to me and the
names are "expr" vs "exprs" which seems like the number of expressions
is what's changing. Are there names we could use that would be more
obviously distinct?
I changed it to
tf_stmt_expr_cmpd = 1 << 6, /* tsubsting the compound statement of
a statement expr. */
tf_stmt_expr_body = 1 << 7 /* tsubsting the statements in the
body of the compound statement of a
statement expr. */
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk