diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-02-06 07:30:25 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-02-06 07:30:25 +0000 |
commit | 40ea76de513e2bd7388dfaf144c5c9f68f53afad (patch) | |
tree | 4302b34cfa658453c0f2005d1fc2b74f7da47536 /gcc/cpphash.c | |
parent | fd81d24f991f53d3cdd71e482e6d83f351e1759d (diff) | |
download | gcc-40ea76de513e2bd7388dfaf144c5c9f68f53afad.zip gcc-40ea76de513e2bd7388dfaf144c5c9f68f53afad.tar.gz gcc-40ea76de513e2bd7388dfaf144c5c9f68f53afad.tar.bz2 |
cpperror.c: Remove #ifdef EMACS block.
* cpperror.c: Remove #ifdef EMACS block.
* cppmain.c: Likewise.
* cpphash.c: Remove #if 0 blocks.
* cppinit.c: Remove #if 0 blocks, and the -lint option.
* cpplib.c: Remove #if 0 blocks and code referencing
pcp_inside_if or for_lint. Remove duplicate error message.
Fix error messages for #else after #else or #elif. Reformat.
Remove archaic TODO list.
* cpplib.h: Remove pcp_inside_if and for_lint flags.
From-SVN: r31817
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r-- | gcc/cpphash.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c index a7f19f1..c2244c9 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -1,5 +1,6 @@ /* Part of CPP library. (Macro handling.) - Copyright (C) 1986, 87, 89, 92-96, 98, 99, 2000 Free Software Foundation, Inc. + Copyright (C) 1986, 87, 89, 92-96, 98, 99, 2000 + Free Software Foundation, Inc. Written by Per Bothner, 1994. Based on CCCP program by Paul Rubin, June 1986 Adapted to ANSI C, Richard Stallman, Jan 1987 @@ -440,11 +441,6 @@ collect_expansion (pfile, buf, limit, nargs, arglist) p += 1; while (p < limit && !(p[-2] == '*' && p[-1] == '/')) p++; -#if 0 - /* Mark this as a concatenation-point, - as if it had been ##. */ - concat = p; -#endif } break; } @@ -1003,19 +999,9 @@ macroexpand (pfile, hp) int xbuf_len; struct argdata *args = 0; long old_written = CPP_WRITTEN (pfile); -#if 0 - int start_line = instack[indepth].lineno; -#endif int rest_args, rest_zero = 0; register int i; -#if 0 - /* This macro is being used inside a #if, which means it must be */ - /* recorded as a precondition. */ - if (pcp_inside_if && pcp_outfile && defn->predefined) - dump_single_macro (hp, pcp_outfile); -#endif - cpp_buf_line_and_col (cpp_file_buffer (pfile), &start_line, &start_column); /* Check for and handle special symbols. */ |