diff options
| author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-08 02:18:25 +0000 |
|---|---|---|
| committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-08 02:18:25 +0000 |
| commit | 57ba19ba6721d4aeefb39d21aa006982a18937eb (patch) | |
| tree | 9ca49cb51958d754a1e1218f2ee16625c7cb8dc6 /libjava/gnu/java | |
| parent | 779cf16ec9b8442a0e91c5f3e10571769dfa19e4 (diff) | |
| download | ppe42-gcc-57ba19ba6721d4aeefb39d21aa006982a18937eb.tar.gz ppe42-gcc-57ba19ba6721d4aeefb39d21aa006982a18937eb.zip | |
* cpphash.c (is__va_args__): New function.
(count_params): Fix line reported in error messages. Use
is__va_args__. Don't return ')' on error. Flag GNU style
rest args macro definitions.
(parse_define): Check macro name is not __VA_ARGS__.
(save_expansion): Check identifier in non-varargs-macro is
not __VA_ARGS__. Don't flag GNU_VARARGS.
* cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
(maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
than per-token GNU_VARARGS.
* cpplib.h (GNU_VARARGS): Remove.
(GNU_REST_ARGS): New.
* gcc.dg/cpp/macsyntx.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions

