Go to file
Neil Booth 0d9f234d93 cpphash.h (HASHSTEP): Take character rather than pointer to character.
* cpphash.h (HASHSTEP): Take character rather than pointer
	to character.
	(_cpp_check_directive, _cpp_check_linemarker): Update prototypes.

	* cpphash.c (cpp_loookup): Update for new HASHSTEP.

	* cpplex.c (auto_expand_name_space, trigraph_replace,
	backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
	IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
	BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
	KNOWN_DIRECTIVE): Delete.

	(handle_newline, check_long_token, skip_escaped_newlines,
	unterminated): New functions.
	(ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.

	(parse_identifier): Was parse_name, new implementation.
	(skip_line_comment, skip_block_comment, skip_whitespace,
	parse_number, parse_string, trigraph_ok, save_comment,
	adjust_column, _cpp_get_line): New implementations.

	(lex_token): New function.  Lexes a token at a time, looking
	forwards.  Contains most of the guts of the old lex_line.
	(lex_line): New implementation, using lex_token to obtain
	individual tokens.
	(cpp_scan_buffer): Use the token's line, not the list's line.

	* cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
	 New implementations.
	(do_assert): Don't bother setting the answer's list's line.
	(cpp_push_buffer): Initialise new pfile and read_ahead members
	of struct cpp_buffer.

	* cpplib.h (cppchar_t): New typedef.
	(struct cpp_buffer): read_ahead, pfile and col_adjust are
	new members.
	(struct lexer_state): New structure that determines the state
	and behaviour of the lexer.
	(IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
	(struct cpp_reader): New member "state". Rename
	multiline_string_line and multiline_string_column. Delete
	col_adjust, in_lex_line members.
	(CPP_BUF_COLUMN): Update.

	* gcc.dg/cpp/cmdlne-C.c: Remove bogus warning test.

From-SVN: r36509
2000-09-18 18:43:05 +00:00
boehm-gc acinclude.m4: Include libtool macros from the top level. 2000-09-10 07:43:14 +00:00
config mh-djgpp: Conditionally set 'target_alias' to djgpp. 2000-08-04 10:17:37 -06:00
contrib gcc_update: Remove gcc/c-parse.gperf. 2000-09-16 14:14:12 +02:00
etc * standards.texi, make-stds.texi: Update to FSF version of May 13. 2000-05-18 07:17:15 +00:00
gcc cpphash.h (HASHSTEP): Take character rather than pointer to character. 2000-09-18 18:43:05 +00:00
include splay-tree.h (splay_tree_predecessor): Declare. 2000-09-10 21:28:21 +00:00
INSTALL * INSTALL/README: egcs -> GCC update. 2000-09-18 15:38:48 +00:00
libchill Makefile.in (STROBJS): Get memmove.o from configure. 2000-05-31 16:54:07 -07:00
libf2c Daily bump. 2000-09-18 01:45:08 -06:00
libffi config.guess, [...]: Removed. 2000-09-10 07:45:10 +00:00
libiberty splay-tree.c (splay_tree_predecessor): Fix typo in comment. 2000-09-17 07:38:23 +00:00
libio Move statement-tree facilities from C++ to C front-end. 2000-09-07 01:36:11 +00:00
libjava Makefile.am: Re-work shell commands that exceeded command-line length limits. 2000-09-14 19:24:08 +00:00
libobjc Move statement-tree facilities from C++ to C front-end. 2000-09-07 01:36:11 +00:00
libstdc++ bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro on _Nw since _Nw is already the number of words... 2000-08-22 13:24:01 -06:00
libstdc++-v3 std_bitset.h (operator>>): Change to char_type. 2000-09-18 18:08:46 +00:00
texinfo dummy checkin to prevent merge lossage 1999-09-04 09:09:22 -06:00
zlib configure.in (multilib): Enable by default only for target. 2000-09-06 19:13:01 +00:00
.cvsignore merge with /cvs/src 2000-07-22 04:08:22 -04:00
ChangeLog * INSTALL/README: egcs -> GCC update. 2000-09-18 15:38:48 +00:00
config-ml.in config-ml.in (CC, CXX): Avoid trailing whitespace. 2000-08-22 05:02:48 +00:00
config.guess Checked in for recognition of x86_64 2000-09-05 10:33:51 +00:00
config.if config.if: Tweak. 2000-05-02 00:51:59 +00:00
config.sub Checked in for recognition of x86_64 2000-09-05 10:33:51 +00:00
configure top level: 2000-08-14 18:08:46 +00:00
configure.in configure.in: Do not build byacc for hppa64. 2000-09-13 11:11:04 -06:00
COPYING
COPYING.LIB
djunpack.bat merge with /cvs/src 2000-07-22 04:08:22 -04:00
install-sh Final changes from devo<->egcs merge. 1998-10-12 04:44:57 -06:00
libtool.m4 ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltcf-c.sh ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltcf-cxx.sh ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltcf-gcj.sh ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltconfig ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltmain.sh ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
MAINTAINERS Add myself 2000-09-17 14:58:14 +00:00
Makefile.in * Makefile.in (all-zlib): Added dummy target. 2000-09-06 18:58:34 +00:00
missing merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
README README: Remove installation instructions and refer to the INSTALL directory instead. 1998-10-02 09:22:08 +00:00
symlink-tree * symlink-tree: Check number of arguments. 2000-07-07 07:18:48 -06:00
ylwrap ylwrap: Change absolute path checks to check for DOS style path names. 1998-10-08 17:26:54 -06:00

		   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.