This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH]: Fix 11295 - Make statement exprs work properly inC++


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]