Commit 1456345e by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

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
parent 1ada4cd0
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"
......
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