Commit 7f7aa9e1 by Doug Evans Committed by Doug Evans

* cp-tree.h (DECL_MAIN_P): Fix parentheses around expression.

From-SVN: r141088
parent 94564826
2008-10-13 Doug Evans <dje@google.com>
* cp-tree.h (DECL_MAIN_P): Fix parentheses around expression.
2008-10-10 Jakub Jelinek <jakub@redhat.com> 2008-10-10 Jakub Jelinek <jakub@redhat.com>
PR c++/37146 PR c++/37146
......
...@@ -316,8 +316,8 @@ typedef struct ptrmem_cst * ptrmem_cst_t; ...@@ -316,8 +316,8 @@ typedef struct ptrmem_cst * ptrmem_cst_t;
#define DECL_MAIN_P(NODE) \ #define DECL_MAIN_P(NODE) \
(DECL_EXTERN_C_FUNCTION_P (NODE) \ (DECL_EXTERN_C_FUNCTION_P (NODE) \
&& DECL_NAME (NODE) != NULL_TREE \ && DECL_NAME (NODE) != NULL_TREE \
&& MAIN_NAME_P (DECL_NAME (NODE))) \ && MAIN_NAME_P (DECL_NAME (NODE)) \
&& flag_hosted && flag_hosted)
/* The overloaded FUNCTION_DECL. */ /* The overloaded FUNCTION_DECL. */
#define OVL_FUNCTION(NODE) \ #define OVL_FUNCTION(NODE) \
......
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