diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-08-06 20:35:46 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-08-06 20:35:46 +0000 |
commit | 58551c2335b3f2f16c8341d3bb409d37f8715696 (patch) | |
tree | 6bf828a9fcc79198ebca01c572aeea673134e23a /gcc/cpplib.h | |
parent | daeabcd06bc02b7b91f041c14f932d80b82f45f5 (diff) | |
download | gcc-58551c2335b3f2f16c8341d3bb409d37f8715696.zip gcc-58551c2335b3f2f16c8341d3bb409d37f8715696.tar.gz gcc-58551c2335b3f2f16c8341d3bb409d37f8715696.tar.bz2 |
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
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 8902f53..7282df7 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -367,6 +367,9 @@ struct cpp_options /* Nonzero for the 1999 C Standard, including corrigenda and amendments. */ unsigned char c99; + /* Nonzero if we are conforming to a specific C or C++ standard. */ + unsigned char std; + /* Nonzero means give all the error messages the ANSI standard requires. */ unsigned char pedantic; |