Commit c3af729a by Graham Stott Committed by Graham Stott

semantics.c (FINISH_COND): Uppercase macro paramaters and add parenthesis.


        * semantics.c (FINISH_COND): Uppercase macro paramaters and
        add parenthesis.

From-SVN: r48674
parent 1fd9ac1e
2002-01-09 Graham Stott <grahams@redhat.com>
* semantics.c (FINISH_COND): Uppercase macro paramaters and
add parenthesis.
2002-01-08 Graham Stott <grahams@redhat.com> 2002-01-08 Graham Stott <grahams@redhat.com>
* xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis. * xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
......
...@@ -66,19 +66,19 @@ static tree clear_decl_rtl PARAMS ((tree *, int *, void *)); ...@@ -66,19 +66,19 @@ static tree clear_decl_rtl PARAMS ((tree *, int *, void *));
/* Finish processing the COND, the SUBSTMT condition for STMT. */ /* Finish processing the COND, the SUBSTMT condition for STMT. */
#define FINISH_COND(cond, stmt, substmt) \ #define FINISH_COND(COND, STMT, SUBSTMT) \
do { \ do { \
if (last_tree != stmt) \ if (last_tree != (STMT)) \
{ \ { \
RECHAIN_STMTS (stmt, substmt); \ RECHAIN_STMTS (STMT, SUBSTMT); \
if (!processing_template_decl) \ if (!processing_template_decl) \
{ \ { \
cond = build_tree_list (substmt, cond); \ (COND) = build_tree_list (SUBSTMT, COND); \
substmt = cond; \ (SUBSTMT) = (COND); \
} \ } \
} \ } \
else \ else \
substmt = cond; \ (SUBSTMT) = (COND); \
} while (0) } while (0)
/* Returns non-zero if the current statement is a full expression, /* Returns non-zero if the current statement is a full expression,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment