From: Jeffrey A Law Date: Sun, 29 Mar 1998 12:37:18 +0000 (+0000) Subject: * lex.c (yynextch): Delete dead function. X-Git-Tag: prereleases/egcs-1.1-prerelease~1889 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d83a9775d918a5cfc17e49027d3cea460f184c6;p=thirdparty%2Fgcc.git * lex.c (yynextch): Delete dead function. From-SVN: r18900 --- 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. */