diff options
author | Bernardo Innocenti <bernie@develer.com> | 2004-07-24 20:04:42 +0200 |
---|---|---|
committer | Bernardo Innocenti <bernie@gcc.gnu.org> | 2004-07-24 20:04:42 +0200 |
commit | 72bb2c39ce1c3506d94f7e2e7c2db84ee8535add (patch) | |
tree | 30cd686465d5c32ae3feab21b35a78240675f666 /libcpp/include | |
parent | 5673cd61cee5815e83181a8145e541d091329adf (diff) | |
download | gcc-72bb2c39ce1c3506d94f7e2e7c2db84ee8535add.zip gcc-72bb2c39ce1c3506d94f7e2e7c2db84ee8535add.tar.gz gcc-72bb2c39ce1c3506d94f7e2e7c2db84ee8535add.tar.bz2 |
internal.h (xnew, [...]): Remove.
* internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
* directives.c: Use XNEW-family macros from libiberty.
* lex.c: Likewise.
* macro.c: Likewise.
* cpplib.h (cpp_deps_style): Export enum with name.
From-SVN: r85121
Diffstat (limited to 'libcpp/include')
-rw-r--r-- | libcpp/include/cpplib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index dab3157..5473641 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -231,6 +231,9 @@ extern enum cpp_token_fld_kind cpp_token_val_index (cpp_token *tok); typedef unsigned CPPCHAR_SIGNED_T cppchar_t; typedef CPPCHAR_SIGNED_T cppchar_signed_t; +/* Style of header dependencies to generate. */ +enum cpp_deps_style { DEPS_NONE = 0, DEPS_USER, DEPS_SYSTEM }; + /* This structure is nested inside struct cpp_reader, and carries all the options visible to the command line. */ struct cpp_options @@ -378,7 +381,7 @@ struct cpp_options struct { /* Style of header dependencies to generate. */ - enum {DEPS_NONE = 0, DEPS_USER, DEPS_SYSTEM } style; + enum cpp_deps_style style; /* Assume missing files are generated files. */ bool missing_files; |