aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r--gcc/java/parse.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index a6681af..17806dc 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -700,6 +700,14 @@ typedef struct jdeplist_s jdeplist;
java_check_regular_methods ((CLASS)); \
}
+#define CLEAR_DEPRECATED ctxp->deprecated = 0
+
+#define CHECK_DEPRECATED_NO_RESET(DECL) \
+ { \
+ if (ctxp->deprecated) \
+ DECL_DEPRECATED (DECL) = 1; \
+ }
+
/* Using and reseting the @deprecated tag flag */
#define CHECK_DEPRECATED(DECL) \
{ \