aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-04-25 11:57:57 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-04-25 11:57:57 +0000
commit05183359dab76cc72b7c149b44b79012e8234b88 (patch)
treef6054d71feac30674ea9d0da03b21c1292f844cb /gcc/cpplib.c
parentac79db28f447f57b159b40fd7e05de089d204a55 (diff)
downloadgcc-05183359dab76cc72b7c149b44b79012e8234b88.zip
gcc-05183359dab76cc72b7c149b44b79012e8234b88.tar.gz
gcc-05183359dab76cc72b7c149b44b79012e8234b88.tar.bz2
* Revert previous patch until build failure cause determined.
From-SVN: r33411
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 2d466ff..5bb5162 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -150,29 +150,6 @@ DIRECTIVE_TABLE
#undef D
#undef DIRECTIVE_TABLE
-/* Check if a token's name matches that of a known directive. Put in
- this file to save exporting dtable and other unneeded information. */
-void
-_cpp_check_directive (list, token)
- cpp_toklist *list;
- cpp_token *token;
-{
- const char *name = list->namebuf + token->val.name.offset;
- size_t len = token->val.name.len;
- unsigned int i;
-
- list->dir_handler = 0;
- list->dir_flags = 0;
-
- for (i = 0; i < N_DIRECTIVES; i++)
- if (dtable[i].length == len && !strncmp (dtable[i].name, name, len))
- {
- list->dir_handler = dtable[i].func;
- list->dir_flags = dtable[i].flags;
- break;
- }
-}
-
/* Handle a possible # directive.
'#' has already been read. */