aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog4
-rw-r--r--libcpp/Makefile.in5
-rw-r--r--libcpp/include/cpp-id-data.h19
-rw-r--r--libcpp/internal.h2
4 files changed, 7 insertions, 23 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 2e347db..19d89b1 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,5 +1,9 @@
2018-08-20 Nathan Sidwell <nathan@acm.org>
+ * Makefile.in (TAGS_SOURCES): Remove cpp-id-data.h.
+ * include/cpp-id-data.h: Delete.
+ * internal.h: Include cpplib.h not cpp-id-data.h.
+
* include/cpp-id-data.h (struct answer): Delete.
* include/cpplib.h (struct answer): Don't forward-declare.
(enum cpp_macro_kind): Add cmk_assert.
diff --git a/libcpp/Makefile.in b/libcpp/Makefile.in
index bfd6069..835c835 100644
--- a/libcpp/Makefile.in
+++ b/libcpp/Makefile.in
@@ -261,9 +261,8 @@ po/$(PACKAGE).pot: $(libcpp_a_SOURCES)
sed 's:$(srcdir)/::g' <po/$(PACKAGE).pot.tmp >po/$(PACKAGE).pot
rm po/$(PACKAGE).pot.tmp
-TAGS_SOURCES = $(libcpp_a_SOURCES) internal.h ucnid.h \
- include/line-map.h include/symtab.h include/cpp-id-data.h \
- include/cpplib.h include/mkdeps.h system.h
+TAGS_SOURCES = $(libcpp_a_SOURCES) internal.h system.h ucnid.h \
+ include/cpplib.h include/line-map.h include/mkdeps.h include/symtab.h
TAGS: $(TAGS_SOURCES)
cd $(srcdir) && etags $(TAGS_SOURCES)
diff --git a/libcpp/include/cpp-id-data.h b/libcpp/include/cpp-id-data.h
deleted file mode 100644
index 909f828..0000000
--- a/libcpp/include/cpp-id-data.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Structures that hang off cpp_identifier, for PCH.
- Copyright (C) 1986-2018 Free Software Foundation, Inc.
-
-This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the
-Free Software Foundation; either version 3, or (at your option) any
-later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; see the file COPYING3. If not see
-<http://www.gnu.org/licenses/>. */
-
-#include "cpplib.h"
-
diff --git a/libcpp/internal.h b/libcpp/internal.h
index e40b20f..59f830c 100644
--- a/libcpp/internal.h
+++ b/libcpp/internal.h
@@ -23,7 +23,7 @@ along with this program; see the file COPYING3. If not see
#define LIBCPP_INTERNAL_H
#include "symtab.h"
-#include "cpp-id-data.h"
+#include "cpplib.h"
#if HAVE_ICONV
#include <iconv.h>