]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/macro.c
* cppinit.c (struct lang_flags): Rename trigraphs std.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Aug 2002 20:35:46 +0000 (20:35 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Aug 2002 20:35:46 +0000 (20:35 +0000)
commited909a0959acaa751bb78bcf3b7c44c3c07942a0
tree6bf828a9fcc79198ebca01c572aeea673134e23a
parent1d6eb2a0734ba49f4477fcff84d920ab5e45e5a9
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56077 138bc75d-0d04-0410-961f-82ee72b054a4
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]