* lex.c (yynextch): Delete dead function.
authorJeffrey A Law <law@cygnus.com>
Sun, 29 Mar 1998 12:37:18 +0000 (12:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 29 Mar 1998 12:37:18 +0000 (05:37 -0700)
From-SVN: r18900

gcc/cp/ChangeLog
gcc/cp/lex.c

index dd73af6..8643948 100644 (file)
@@ -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.
index aaaacc5..3a5e21e 100644 (file)
@@ -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.  */