diff options
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r-- | gcc/java/parse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h index 232eead..c016fad 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -120,6 +120,10 @@ extern tree stabilize_reference (tree); } #endif +#ifdef ATTRIBUTE_GCC_DIAG +extern void parse_error_context (tree cl, const char *gmsgid, ...) ATTRIBUTE_GCC_DIAG(2,3); +#endif + #define ABSTRACT_CHECK(FLAG, V, CL, S) \ if ((FLAG) & (V)) \ parse_error_context ((CL), "%s method can't be abstract", (S)); |