Go to file
Neil Booth 87ed109f1f cppexp.c (lex): Update to use state.skip_eval.
* cppexp.c (lex): Update to use state.skip_eval.
	(struct op): Remove prio and flags members.
	(FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
	SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
	(LEFT_ASSOC): New macro.
	(optab): New table of operator priorities and flags.
	(SHIFT): Update.
	(_cpp_parse_expr): Clean up logic.  Return bool.  Use a
	malloc-ed parser stack.
	(reduce): New; reduce the operator stack.
	(_cpp_expand_op_stack): Expand the operator stack as necessary.
	* cpphash.h (struct op): Predeclare.
	(struct cpp_reader): New members op_stack, op_limit.
	(struct lexer_state): New member skip_eval.
	(_cpp_parse_expr): Update.
	(_cpp_expand_op_stack): New.
	* cpplib.c (do_if): Update.
	* cppinit.c (cpp_create_reader): Create op stack.
	(cpp_destroy): And destroy it.
	* cpplib.h (CPP_LAST_CPP_OP): Correct.
	(TTYPE_TABLE): Correct.
testsuite:
	* gcc.dg/cpp/if-mop.c: Update.
	* gcc.dg/cpp/if-mpar.c: Add test.
	* gcc.dg/cpp/if-oppr.c: Update.

From-SVN: r52853
2002-04-28 19:42:54 +00:00
boehm-gc Makefile.am (toolexeclib_LTLIBRARIES): Remove. 2002-04-23 03:37:27 +00:00
config mh-a68bsd: clean out dead code 2002-04-19 13:26:08 -04:00
contrib * gcc_update (touch_files): Don't have empty for loop. 2002-04-18 10:09:10 +00:00
fastjar jartool.c (expand_options): Handle tar-style argument list with a leading "-". 2002-03-18 11:08:21 +00:00
gcc cppexp.c (lex): Update to use state.skip_eval. 2002-04-28 19:42:54 +00:00
include xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later. 2002-04-16 17:12:54 -07:00
INSTALL
libf2c Daily bump. 2002-04-28 07:17:18 +00:00
libffi java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly. 2002-04-08 23:59:13 +00:00
libiberty hashtab.c (higher_prime_number): Use 7 as minimum. 2002-04-09 17:14:53 -07:00
libjava * .cvsignore: Remove files that are present in CVS. 2002-04-28 18:41:51 +00:00
libobjc encoding.c (MAX, [...]): #undef before defining. 2002-04-23 02:04:20 +00:00
libstdc++-v3 [multiple changes] 2002-04-28 16:21:32 +00:00
maintainer-scripts * gcc_release (build_diffs): Remove reference to Chill. 2002-04-22 16:00:13 +00:00
zlib Last commit missed this 2002-03-17 00:46:40 +00:00
.cvsignore
ChangeLog configure.in (h8300*-*-rtems*): Disable libf2c and libgcj. 2002-04-26 22:30:19 +00:00
config-ml.in
config.guess config.guess: Updated to 2002-01-30's version. 2002-02-09 03:00:13 +00:00
config.if
config.sub config.guess: Updated to 2002-01-30's version. 2002-02-09 03:00:13 +00:00
configure
configure.in configure.in (h8300*-*-rtems*): Disable libf2c and libgcj. 2002-04-26 22:30:19 +00:00
COPYING
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
install-sh * install-sh: Use _inst.$$_ for temp file name. 2002-01-25 18:42:28 -05:00
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:42:17 +00:00
MAINTAINERS * MAINTAINERS: Add information about purpose of this file. 2002-04-19 16:40:52 +00:00
Makefile.in MAINTAINERS: Remove chill maintainers. 2002-04-15 20:19:23 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.