Commit bebcccae by Volker Reichelt Committed by Volker Reichelt

re PR c++/24979 (DECL_MAIN_P is declared twice in cp-tree.h)

	PR c++/24979
	* cp-tree.h (DECL_MAIN_P): Remove duplicate definition.

From-SVN: r107578
parent a0ba8cb1
2005-11-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/24979
* cp-tree.h (DECL_MAIN_P): Remove duplicate definition.
2005-11-26 Richard Henderson <rth@redhat.com>
* lex.c: Update for pragma_lex rename.
......
......@@ -3274,13 +3274,6 @@ extern GTY(()) VEC(tree,gc) *local_classes;
&& IDENTIFIER_POINTER (ID_NODE)[1] == '_')
#endif /* !defined(NO_DOLLAR_IN_LABEL) || !defined(NO_DOT_IN_LABEL) */
/* Returns nonzero iff NODE is a declaration for the global function
`main'. */
#define DECL_MAIN_P(NODE) \
(DECL_EXTERN_C_FUNCTION_P (NODE) \
&& DECL_NAME (NODE) != NULL_TREE \
&& MAIN_NAME_P (DECL_NAME (NODE)))
/* Nonzero if we're done parsing and into end-of-file activities. */
......
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