jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field DECLs.
2001-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field DECLs. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00424.html) From-SVN: r39528
This commit is contained in:
parent
1ada4cd094
commit
1456345e53
@ -1,3 +1,8 @@
|
||||
2001-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field
|
||||
DECLs.
|
||||
|
||||
2001-02-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* lex.c (java_new_lexer): Longer error message.
|
||||
|
@ -224,11 +224,12 @@ set_source_filename (jcf, index)
|
||||
|
||||
#define HANDLE_SYNTHETIC_ATTRIBUTE() \
|
||||
{ \
|
||||
/* Irrelevant decls should have been nullified by the END macros. */ \
|
||||
/* Irrelevant decls should have been nullified by the END macros. \
|
||||
We only handle the `Synthetic' attribute on method DECLs. \
|
||||
DECL_ARTIFICIAL on fields is used for something else (See \
|
||||
PUSH_FIELD in java-tree.h) */ \
|
||||
if (current_method) \
|
||||
DECL_ARTIFICIAL (current_method) = 1; \
|
||||
else \
|
||||
DECL_ARTIFICIAL (current_field) = 1; \
|
||||
}
|
||||
|
||||
#include "jcf-reader.c"
|
||||
|
Loading…
Reference in New Issue
Block a user