Commit 7ec09bf7 by Greg McGary Committed by Greg McGary

* cp-tree.h (MAIN_NAME_P): Remove macro.

From-SVN: r35946
parent 5b47282c
2000-08-24 Greg McGary <greg@mcgary.org>
* cp-tree.h (MAIN_NAME_P): Remove macro.
2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com> 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
* error.c (print_instantiation_context): Don't forget to flush the * error.c (print_instantiation_context): Don't forget to flush the
......
...@@ -376,11 +376,6 @@ typedef struct ptrmem_cst ...@@ -376,11 +376,6 @@ typedef struct ptrmem_cst
&& DECL_NAME (NODE) != NULL_TREE \ && DECL_NAME (NODE) != NULL_TREE \
&& MAIN_NAME_P (DECL_NAME (NODE))) && MAIN_NAME_P (DECL_NAME (NODE)))
/* Returns non-zero iff ID_NODE is an IDENTIFIER_NODE whose name is
`main'. */
#define MAIN_NAME_P(ID_NODE) \
(strcmp (IDENTIFIER_POINTER (ID_NODE), "main") == 0)
struct tree_binding struct tree_binding
{ {
...@@ -3506,11 +3501,6 @@ extern varray_type local_classes; ...@@ -3506,11 +3501,6 @@ extern varray_type local_classes;
(BUF) = wbuf; \ (BUF) = wbuf; \
} while (0) } while (0)
/* Returns non-zero iff ID_NODE is an IDENTIFIER_NODE whose name is
`main'. */
#define MAIN_NAME_P(ID_NODE) \
(strcmp (IDENTIFIER_POINTER (ID_NODE), "main") == 0)
/* Returns non-zero iff NODE is a declaration for the global function /* Returns non-zero iff NODE is a declaration for the global function
`main'. */ `main'. */
#define DECL_MAIN_P(NODE) \ #define DECL_MAIN_P(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