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
This commit is contained in:
Bernardo Innocenti 2004-07-24 20:04:42 +02:00 committed by Bernardo Innocenti
parent 5673cd61ce
commit 72bb2c39ce
6 changed files with 21 additions and 15 deletions

View file

@ -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;