From e08ae8c5be3472cc12a2cb80da60b25da26e4790 Mon Sep 17 00:00:00 2001 From: bothner Date: Tue, 1 Mar 2005 17:03:45 +0000 Subject: * jcf-reader.c (get_attribute): Handle SourceDebugExtension (JSR 45) if HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95748 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/jcf-reader.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/java/jcf-reader.c') diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c index 9b3ad161773..8353920d8dd 100644 --- a/gcc/java/jcf-reader.c +++ b/gcc/java/jcf-reader.c @@ -227,6 +227,13 @@ get_attribute (JCF *jcf) HANDLE_DEPRECATED_ATTRIBUTE (); } else +#endif +#ifdef HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE + if (MATCH_ATTRIBUTE ("SourceDebugExtension")) /* JSR 45 */ + { + HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE (attribute_length); + } + else #endif { #ifdef PROCESS_OTHER_ATTRIBUTE -- cgit v1.2.1