diff options
| author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-24 18:04:42 +0000 |
|---|---|---|
| committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-24 18:04:42 +0000 |
| commit | 3b29876427e76f4cf4054a55c5cd6ad403ba61eb (patch) | |
| tree | 30cd686465d5c32ae3feab21b35a78240675f666 /libcpp/include/cpplib.h | |
| parent | 001ad2d459f7dd38d03ff0fe356139595cc6c7b6 (diff) | |
| download | ppe42-gcc-3b29876427e76f4cf4054a55c5cd6ad403ba61eb.tar.gz ppe42-gcc-3b29876427e76f4cf4054a55c5cd6ad403ba61eb.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/include/cpplib.h')
| -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 dab315714df..547364112f6 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; |

