cppinit.c (struct lang_flags): Rename trigraphs std.
authorNeil Booth <neil@daikokuya.co.uk>
Tue, 6 Aug 2002 20:35:46 +0000 (20:35 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 6 Aug 2002 20:35:46 +0000 (20:35 +0000)
commit58551c2335b3f2f16c8341d3bb409d37f8715696
tree6bf828a9fcc79198ebca01c572aeea673134e23a
parentdaeabcd06bc02b7b91f041c14f932d80b82f45f5
cppinit.c (struct lang_flags): Rename trigraphs std.

* cppinit.c (struct lang_flags): Rename trigraphs std.
(set_lang): Update.
* cpplib.h (struct cpp_options): New member std.
* cppmacro.c (_cpp_builtin_macro_text): Use std.
(collect_args): Flag whether to swallow a possible future
comma pasted with varargs.
(replace_args): Use this flag.
* doc/cpp.texi: Update varargs extension documentation.
testsuite:
* gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c: New tests.

From-SVN: r56077
gcc/ChangeLog
gcc/cppinit.c
gcc/cpplib.h
gcc/cppmacro.c
gcc/doc/cpp.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/vararg3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/vararg4.c [new file with mode: 0644]