Go to file
Jason Merrill 66a6250faa lang-specs.h (c++-cpp-output): Pass -fpreprocessed.
* lang-specs.h (c++-cpp-output): Pass -fpreprocessed.

	* lex.c (token_getch, token_put_back): New fns.
	(real_yylex): Use them.

	* lex.c (lang_init): Generalize.
	(lang_init_options): Tell cpplib this is C++.
	(nextchar): Remove.  Replace uses with put_back.
	(skip_white_space): Handle linemode here.  Optimize for cpplib.
	(extend_token_buffer_to): New fn.
	(extend_token_buffer): Use it.
	(read_line_number, check_newline): Just deal with tokens.
	(real_yylex): More cpplib optimizations.  Simplify.  Don't produce
	EXTERN_LANG_STRING, LEFT_RIGHT or PAREN_STAR_PAREN here.
	* spew.c (yylex): Produce LEFT_RIGHT and EXTERN_LANG_STRING.
	* parse.y (PAREN_STAR_PAREN): Remove.
	* input.c: Don't use the putback machinery with cpplib.
	(sub_getch): Fold back into getch.
	(getch): Don't handle linemode here.
	(feed_input): Unget any text in the token buffer.

	* lex.c	(set_typedecl_interface_info, set_vardecl_interface_info,
	nextyychar, nextyylval): Remove.

	* lex.c (indent_level): New variable.
	(init_parse): Set cpp_token to CPP_DIRECTIVE.
	(consume_string): Make this smart about USE_CPPLIB.
	(yyungetc): Use put_back function.
	(pragma_getc, pragma_ungetc): Functions deleted.
	(check_newline): Rewrite to be intelligent about USE_CPPLIB.
	Also, call HANDLE_PRAGMA with getch, yyungetc, not pragma_getc and
	pragma_ungetc.
	(real_yylex): Rewrite to be intelligent about USE_CPPLIB.
	Also, clean up cases where we redundantly set token_buffer[0].
	(read_line_number): New fn.
	* input.c (feed_input): Use integrated cpplib if USE_CPPLIB.
	(end_input): Call cpp_pop_buffer if USE_CPPLIB.
	(sub_getch): Conditionalize out code that's not appropriate if
	USE_CPPLIB.
	(put_back): Rewrite in case USE_CPPLIB is defined.
	(input_redirected): Ditto.

From-SVN: r28193
1999-07-20 15:53:38 -04:00
boehm-gc * config.h (MPROTECT_VDB): Don't define on Linux. 1999-07-19 19:27:56 +00:00
config Resync 1999-04-06 21:36:42 -06:00
contrib * test_summary: Replace egcs with gcc. Update e-mail address. 1999-07-17 21:45:48 -06:00
etc * configure.in: Use AC_PREREQ(2.12.1). 1998-11-23 13:51:40 +00:00
gcc lang-specs.h (c++-cpp-output): Pass -fpreprocessed. 1999-07-20 15:53:38 -04:00
include Sync 1999-04-06 22:24:20 -06:00
INSTALL
libchill libchill, libf2c, libobjc: 1999-05-19 20:27:28 -06:00
libf2c Daily bump. 1999-07-20 01:45:38 -06:00
libiberty argv.c: Include stdlib.h and string.h instead of prototyping directly. 1999-07-14 10:29:38 -07:00
libio configure.in (post-target): Use "$(topsrcdir)", not "$(srcdir)/..". 1999-06-28 20:32:02 -06:00
libjava * include/stamp-h.in: New file. 1999-07-19 18:03:31 +00:00
libobjc init.c (__objc_force_linking): Make global. 1999-06-20 22:41:41 -06:00
libstdc++ * Makefile.in (INTERFACE): Bump to 3. 1999-07-17 23:52:37 -06:00
texinfo acconfig.h (libintl.h): Does not include this file here because it will define `NULL' before the system... 1999-06-01 17:52:42 -06:00
zlib Makefile.am (*-recursive, [...]): Automake does not generate *-recursive for this Makefile, use *-am instead. 1999-07-19 19:11:54 +00:00
.cvsignore
ChangeLog configure.in (target_libs): Added target-zlib. 1999-06-22 16:46:17 -06:00
config-ml.in config-ml.in: On mips*-*-*... 1999-04-11 17:00:24 -06:00
config.guess Cort Dougan <cort@cs.nmt.edu> 1999-05-30 09:05:07 -07:00
config.if
config.sub Tidied up case statements 1999-05-24 15:24:52 +00:00
configure configure (gxx_include_dir): Removed. 1999-04-02 07:17:49 -07:00
configure.in configure.in (target_libs): Added target-zlib. 1999-06-22 16:46:19 -06:00
COPYING
COPYING.LIB
install-sh
ltconfig * ltconfig, ltmain.sh: Update to libtool 1.2f. 1999-06-21 20:36:09 -06:00
ltmain.sh * ltconfig, ltmain.sh: Update to libtool 1.2f. 1999-06-21 20:36:09 -06:00
MAINTAINERS egcs/MAINTAINERS: 1999-07-05 01:33:41 +00:00
Makefile.in configure.in (target_libs): Added target-zlib. 1999-06-22 16:46:19 -06:00
missing
mkinstalldirs
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
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.