diff options
author | Per Bothner <bothner@cygnus.com> | 1999-01-06 16:50:39 +0000 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1999-01-06 08:50:39 -0800 |
commit | 0d34ccb7f2c11bb13dae156b05b4ca4ccff0eda1 (patch) | |
tree | f149c5d2e99ff5a913b97b68e0a9b709ad068f39 /gcc/java/lex.c | |
parent | 90e6a802fc1cde08d2070104fced961ae96f0e7c (diff) | |
download | gcc-0d34ccb7f2c11bb13dae156b05b4ca4ccff0eda1.zip gcc-0d34ccb7f2c11bb13dae156b05b4ca4ccff0eda1.tar.gz gcc-0d34ccb7f2c11bb13dae156b05b4ca4ccff0eda1.tar.bz2 |
lex.h: Moved static function declarations to lex.c, to shut up some -Wall warnings.
�
* lex.h: Moved static function declarations to lex.c,
to shut up some -Wall warnings.
* lex.c: Static function declarations moved here.
* jcf-dump.c: Small fixes to shut up -Wall warnings.
From-SVN: r24518
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index d60e97d..f1b5469 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -55,6 +55,25 @@ Addison Wesley 1996" (http://java.sun.com/docs/books/jls/html/3.doc.html) */ extern struct obstack *expression_obstack; #endif +/* Function declaration */ +static int java_lineterminator PROTO ((unicode_t)); +static char *java_sprint_unicode PROTO ((struct java_line *, int)); +static void java_unicode_2_utf8 PROTO ((unicode_t)); +static void java_lex_error PROTO ((char *, int)); +static int java_is_eol PROTO ((FILE *, int)); +static void java_store_unicode PROTO ((struct java_line *, unicode_t, int)); +static unicode_t java_parse_escape_sequence PROTO (()); +static int java_letter_or_digit_p PROTO ((unicode_t)); +static int java_parse_doc_section PROTO ((unicode_t)); +static void java_parse_end_comment PROTO (()); +static unicode_t java_get_unicode PROTO (()); +static unicode_t java_read_unicode PROTO ((int, int *)); +static void java_store_unicode PROTO ((struct java_line *, unicode_t, int)); +static unicode_t java_read_char PROTO (()); +static void java_allocate_new_line PROTO (()); +static void java_unget_unicode PROTO (()); +static unicode_t java_sneak_unicode PROTO (()); + void java_init_lex () { |