aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-03-29 12:37:18 +0000
committerJeff Law <law@gcc.gnu.org>1998-03-29 05:37:18 -0700
commit6d83a9775d918a5cfc17e49027d3cea460f184c6 (patch)
treeb985fee6670270abaf883fbb2521761ed0eb2faf /gcc/cp
parent994ac65bd0e52b77549099fd39e31c1a2ed8a567 (diff)
downloadgcc-6d83a9775d918a5cfc17e49027d3cea460f184c6.zip
gcc-6d83a9775d918a5cfc17e49027d3cea460f184c6.tar.gz
gcc-6d83a9775d918a5cfc17e49027d3cea460f184c6.tar.bz2
* lex.c (yynextch): Delete dead function.
From-SVN: r18900
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/lex.c18
2 files changed, 2 insertions, 18 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index dd73af6..8643948 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 aaaacc5..3a5e21e 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. */