From 6d83a9775d918a5cfc17e49027d3cea460f184c6 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sun, 29 Mar 1998 12:37:18 +0000 Subject: [PATCH] * lex.c (yynextch): Delete dead function. From-SVN: r18900 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/lex.c | 18 ------------------ 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dd73af684c38..86439489c446 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ Sun Mar 29 00:47:32 1998 Jeffrey A Law (law@cygnus.com) + * lex.c (yynextch): Delete dead function. + * expr.c (tree_extract_aggr_init): #if 0 out. * except.c (do_unwind): Delete dead function. diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index aaaacc5dca5c..3a5e21eadbca 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -97,7 +97,6 @@ extern void compiler_error PROTO((char *, HOST_WIDE_INT, static tree get_time_identifier PROTO((char *)); static int check_newline PROTO((void)); static int skip_white_space PROTO((int)); -static int yynextch PROTO((void)); static void finish_defarg PROTO((void)); static int my_get_run_time PROTO((void)); static int get_last_nonwhite_on_line PROTO((void)); @@ -1394,23 +1393,6 @@ restore_pending_input (p) free (p); } -/* Return next non-whitespace input character, which may come - from `finput', or from `nextchar'. */ - -static int -yynextch () -{ - int c; - - if (nextchar >= 0) - { - c = nextchar; - nextchar = -1; - } - else c = getch (); - return skip_white_space (c); -} - /* Unget character CH from the input stream. If RESCAN is non-zero, then we want to `see' this character as the next input token. */ -- 2.43.5