Go to file
Zack Weinberg 7061aa5a9e cpphash.h (union hash_value): Remove keydef' member, add a struct hashnode *aschain' member for #assert.
1998-12-15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpphash.h (union hash_value): Remove `keydef' member, add a
          `struct hashnode *aschain' member for #assert.
	  * cpplib.c (struct tokenlist_list, struct
          assertion_hashnode): Delete structure definitions.
          (assertion_install, assertion_lookup, delete_assertion,
          check_assertion, compare_token_lists, reverse_token_list,
          read_token_list, free_token_list): Delete functions.
          (parse_assertion): New function.
	  (cpp_cleanup): Don't destroy the assertion_hashtable.
          (do_assert): Gut and rewrite.  #assert foo (bar) places
          entries for `#foo' and `#foo(bar)' in the macro hash table,
          type T_ASSERT.  The value union's `aschain' member is used
          to chain all answers for a given predicate together.
          (do_unassert): Also rewritten.  Take an un-asserted
          answer off the chain from its predicate and call
          delete_macro on the hashnode, or walk a predicate chain
          calling delete_macro on all the entries.
          (cpp_read_check_assertion): Simply call parse_assertion to
          get the canonical assertion name, and look that up in the
          hash table.
	* cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):
 	Removed.
	* cpphash.c (install): Use bcopy instead of an explicit loop
          to copy the macro name.
	* cppexp.c (cpp_lex): Convert the result of
          cpp_read_check_assertion to a `struct operation' directly;
          don't go through parse_number.

From-SVN: r24325
1998-12-15 06:09:16 -05:00
config mh-cygwin32: delete 1998-11-10 18:41:12 -07:00
contrib * egcs_update: Only touch files that already exist. 1998-12-01 05:04:12 +00:00
etc * configure.in: Use AC_PREREQ(2.12.1). 1998-11-23 13:51:40 +00:00
gcc cpphash.h (union hash_value): Remove keydef' member, add a struct hashnode *aschain' member for #assert. 1998-12-15 06:09:16 -05:00
include demangle.h: Don't check IN_GCC anymore. 1998-12-14 06:55:07 +00:00
INSTALL
libchill configure (skip-this-dir): Add handling for new shell script... 1998-11-26 01:48:34 +00:00
libf2c configure (skip-this-dir): Add handling for new shell script... 1998-11-26 01:48:34 +00:00
libiberty choose-temp.c: Don't check IN_GCC anymore. 1998-12-14 07:01:03 +00:00
libio configure (skip-this-dir): Add handling for new shell script... 1998-11-26 01:48:34 +00:00
libobjc configure (skip-this-dir): Add handling for new shell script... 1998-11-26 01:48:34 +00:00
libstdc++ * Makefile.in: Be more selective about what files to install. 1998-12-07 17:01:29 -07:00
texinfo Makefile.am (noinst_PROGRAMS): Renamed from bin_PROGRAMS to avoid installing makeinfo. 1998-11-19 22:39:55 +00:00
.cvsignore
ChangeLog [multiple changes] 1998-12-03 17:36:49 -07:00
config-ml.in
config.guess [multiple changes] 1998-12-03 17:36:49 -07:00
config.if
config.sub Opps. Revert another accidental checkin. 1998-10-22 11:37:35 -06:00
configure configure (skip-this-dir): Add handling for new shell script... 1998-11-26 01:48:34 +00:00
configure.in
COPYING
COPYING.LIB
install-sh
ltconfig
ltmain.sh
MAINTAINERS Gavin now owns the C front-end and ISO C9X issues. 1998-11-30 02:17:29 -07:00
Makefile.in configure (skip-this-dir): Add handling for new shell script... 1998-11-26 01:48:34 +00:00
missing
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.


Check the INSTALL directory for detailed configuration and installation
instructions.


Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.