cpplex.c (parse_name): Don't warn about $ in identifiers if skipping.

* cpplex.c (parse_name): Don't warn about $ in identifiers if
	skipping.

	* Makefile.in: Remove all references to HOST_INTLLIBS.

	* cp/method.c: Don't include hard-reg-set.h.

From-SVN: r34621
This commit is contained in:
Zack Weinberg 2000-06-20 22:42:18 +00:00 committed by Zack Weinberg
parent 5f8f47513f
commit e5ec24021a
5 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2000-06-20 Zack Weinberg <zack@wolery.cumb.org>
* Makefile.in: Remove all references to HOST_INTLLIBS.
* cpplex.c (parse_name): Don't warn about $ in identifiers if
skipping.
2000-06-20 Philipp Thomas <pthomas@suse.de>
* config/pa/pa.h(TARGET_SWITCHES): Require binutils 2.10 or later

View File

@ -469,7 +469,6 @@ HOST_PREFIX_1=loser-
HOST_CC=$(CC)
HOST_CFLAGS=$(ALL_CFLAGS)
HOST_CLIB=$(CLIB)
HOST_INTLLIBS=$(INTLLIBS)
HOST_LDFLAGS=$(LDFLAGS)
HOST_CPPFLAGS=$(ALL_CPPFLAGS)
HOST_ALLOCA=$(ALLOCA)
@ -577,7 +576,7 @@ LIBDEPS= $(INTLLIBS) $(OBSTACK) $(ALLOCA) $(MALLOC) $(VFPRINTF) $(DOPRINT)
# Likewise, for use in the tools that must run on this machine
# even if we are cross-building GCC.
# We don't use USE_ALLOCA because backquote expansion doesn't work in deps.
HOST_LIBDEPS= $(HOST_PREFIX)$(HOST_INTLLIBS) $(HOST_PREFIX)$(HOST_OBSTACK) $(HOST_PREFIX)$(HOST_ALLOCA) $(HOST_PREFIX)$(HOST_MALLOC) $(HOST_PREFIX)$(HOST_VFPRINTF) $(HOST_PREFIX)$(HOST_DOPRINT)
HOST_LIBDEPS= $(HOST_PREFIX)$(HOST_OBSTACK) $(HOST_PREFIX)$(HOST_ALLOCA) $(HOST_PREFIX)$(HOST_MALLOC) $(HOST_PREFIX)$(HOST_VFPRINTF) $(HOST_PREFIX)$(HOST_DOPRINT)
# How to link with both our special library facilities
# and the system's installed libraries.
@ -586,8 +585,7 @@ LIBS = $(OBSTACK) $(USE_ALLOCA) $(MALLOC) $(INTLLIBS) @LIBS@ $(VFPRINTF) $(DOPRI
# Likewise, for use in the tools that must run on this machine
# even if we are cross-building GCC.
HOST_LIBS = $(USE_HOST_OBSTACK) $(USE_HOST_ALLOCA) $(USE_HOST_MALLOC) \
$(HOST_INTLLIBS) $(USE_HOST_VFPRINTF) $(USE_HOST_DOPRINT) \
$(HOST_CLIB)
$(USE_HOST_VFPRINTF) $(USE_HOST_DOPRINT) $(HOST_CLIB)
HOST_RTL = $(HOST_PREFIX)rtl.o $(HOST_PREFIX)bitmap.o \
$(HOST_PREFIX)ggc-none.o gensupport.o

View File

@ -1,3 +1,7 @@
2000-06-20 Zack Weinberg <zack@wolery.cumb.org>
* method.c: Don't include hard-reg-set.h.
2000-06-20 Nathan Sidwell <nathan@codesourcery.com>
* rtti.c (get_base_offset): Cope when vbase field is in a base.

View File

@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA. */
#include "rtl.h"
#include "expr.h"
#include "output.h"
#include "hard-reg-set.h"
#include "flags.h"
#include "toplev.h"
#include "ggc.h"

View File

@ -1096,7 +1096,10 @@ _cpp_parse_name (pfile, c)
break;
}
if (c == '$' && CPP_PEDANTIC (pfile))
/* $ is not a legal identifier character in the standard, but is
commonly accepted as an extension. Don't warn about it in
skipped conditional blocks. */
if (c == '$' && CPP_PEDANTIC (pfile) && ! pfile->skipping)
cpp_pedwarn (pfile, "`$' in identifier");
CPP_RESERVE(pfile, 2); /* One more for final NUL. */