summaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2002-01-09 06:07:18 +0000
committerGraham Stott <grahams@gcc.gnu.org>2002-01-09 06:07:18 +0000
commitc3af729ad74e807c2364b33459373d4b8c70c287 (patch)
treed9e8abf933cd6ad2e7fcec68fc8c89ddbc46d101 /gcc/cp/semantics.c
parent1fd9ac1e5a59d2184e543348f1b71bf93553caf5 (diff)
downloadgcc-c3af729ad74e807c2364b33459373d4b8c70c287.tar.gz
semantics.c (FINISH_COND): Uppercase macro paramaters and add parenthesis.
* semantics.c (FINISH_COND): Uppercase macro paramaters and add parenthesis. From-SVN: r48674
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index f17019cc8ee..b8a09fd899a 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -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,