summaryrefslogtreecommitdiffstats
path: root/gcc/java/parse-scan.y
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-06 08:35:49 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-06 08:35:49 +0000
commit5ce13bce4c31cc84cc6952e360335c714250e2be (patch)
tree486a4183689a6c011bf01289c6a0096cfcea6c5e /gcc/java/parse-scan.y
parente3f1d1d9cb6a3227e55fa8da93a4368789f28257 (diff)
downloadppe42-gcc-5ce13bce4c31cc84cc6952e360335c714250e2be.tar.gz
ppe42-gcc-5ce13bce4c31cc84cc6952e360335c714250e2be.zip
* Makefile.in (jcf-parse.o): Depend on $(PARSE_H).
(parse-scan.o): Depend on toplev.h. * class.c (make_method_value): Add prototype. Make it static. Remove unused second argument, caller changed. * expr.c (java_lang_expand_expr): Remove unused variable `return_label'. * java-tree.h: Don't prototype find_in_current_zip. Add prototypes for verify_constant_pool, start_java_method, end_java_method, give_name_to_locals, expand_byte_code, open_in_zip, set_constant_value, find_constant1, find_constant2, find_utf8_constant, find_string_constant, find_class_constant, find_fieldref_index, find_methodref_index, write_constant_pool, count_constant_pool_bytes and encode_newarray_type. * jcf-dump.c: Remove unused variable `LONG_temp'. * jcf-parse.c: Include parse.h. (jcf_parse_source): Remove unused parameter, all callers changed. (jcf_figure_file_type): Add static prototype. (find_in_current_zip): Likewise. Also remove unused parameter, all callers changed. (read_class): Initialize variable `saved_pos'. * jcf-reader.c (jcf_parse_preamble): Mark variables `minor_version' and `major_version' with ATTRIBUTE_UNUSED. * lex.c (java_is_eol): Wrap prototype and definition in !JC1_LITE. (java_init_lex): Wrap variable `java_lang_imported' in !JC1_LITE. (java_parse_doc_section): Initialize variable `seen_star'. (java_lex): Wrap variable `number_beginning' in !JC1_LITE. (java_lex_error): Mark parameters `msg' and `forward' with ATTRIBUTE_UNUSED. (java_get_line_col): Mark parameters `filename' and `line' with ATTRIBUTE_UNUSED. * parse-scan.y: Include toplev.h. (yyerror): Mark parameter `msg' with ATTRIBUTE_UNUSED. * parse.h: use `struct JCF', not plain `JCF'. (java_parser_context_save_global, java_expand_classes java_parser_context_restore_global, java_parse): Add prototypes. * typeck.c (convert_ieee_real_to_integer): Remove unused variable `node'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25616 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse-scan.y')
-rw-r--r--gcc/java/parse-scan.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/parse-scan.y b/gcc/java/parse-scan.y
index 25f87c85201..a8f6df645a9 100644
--- a/gcc/java/parse-scan.y
+++ b/gcc/java/parse-scan.y
@@ -41,6 +41,7 @@ definitions and other extensions. */
#include "system.h"
#include "obstack.h"
+#include "toplev.h"
extern char *input_filename;
extern FILE *finput, *out;
@@ -1178,7 +1179,7 @@ void reset_report ()
void
yyerror (msg)
- char *msg;
+ char *msg ATTRIBUTE_UNUSED;
{
}
OpenPOWER on IntegriCloud