diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-25 23:35:10 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-25 23:35:10 +0000 |
commit | 66914e49b166758e90e5eaa59ca2485c8ed59954 (patch) | |
tree | 531c9ea973f7c28cdfde77bf7e98c0094da5b45e /gcc/cpplib.h | |
parent | d734e1a30b98bea28d5ff435c7fe5e291fdfe8bb (diff) | |
download | gcc-66914e49b166758e90e5eaa59ca2485c8ed59954.tar.gz |
* cpplex.c (parse_args): Don't set VOID_REST flag.
(Fix diagnostic merge problem).
(CONTEXT_VARARGS): New flag.
(maybe_paste_with_next): Set context earlier in loop. Use
it. Do varargs test with CONTEXT_VARARGS flag.
(push_arg_context): Set CONTEXT_VARARGS flag if we're
pushing an argument context for a varargs argument.
* cpplib.h (VOID_REST): Delete.
* gcc.dg/cpp/vararg1.c: Add test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36638 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 9b127136929..0f5235209f0 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -160,7 +160,6 @@ struct cpp_string #define PASTE_LEFT (1 << 4) /* If on LHS of a ## operator. */ #define PASTED (1 << 5) /* The result of a ## operator. */ #define NAMED_OP (1 << 6) /* C++ named operators, also "defined". */ -#define VOID_REST (1 << 7) /* When a rest arg gets zero actual args. */ /* A preprocessing token. This has been carefully packed and should occupy 16 bytes on 32-bit hosts and 24 bytes on 64-bit hosts. */ |