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

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

From-SVN: r48674
This commit is contained in:
Graham Stott 2002-01-09 06:07:18 +00:00 committed by Graham Stott
parent 1fd9ac1e5a
commit c3af729ad7
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
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>
* xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.

View File

@ -66,19 +66,19 @@ static tree clear_decl_rtl PARAMS ((tree *, int *, void *));
/* Finish processing the COND, the SUBSTMT condition for STMT. */
#define FINISH_COND(cond, stmt, substmt) \
#define FINISH_COND(COND, STMT, SUBSTMT) \
do { \
if (last_tree != stmt) \
if (last_tree != (STMT)) \
{ \
RECHAIN_STMTS (stmt, substmt); \
if (!processing_template_decl) \
{ \
cond = build_tree_list (substmt, cond); \
substmt = cond; \
} \
RECHAIN_STMTS (STMT, SUBSTMT); \
if (!processing_template_decl) \
{ \
(COND) = build_tree_list (SUBSTMT, COND); \
(SUBSTMT) = (COND); \
} \
} \
else \
substmt = cond; \
(SUBSTMT) = (COND); \
} while (0)
/* Returns non-zero if the current statement is a full expression,