aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-11-25 19:28:44 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-11-25 19:28:44 +0000
commita32f2771a5b1265435b332f15020b66bed552af4 (patch)
tree925e0c18e46eaa5d241ebbe1cd839d39fc0984a2 /gcc/c-lang.c
parent3e8aa6e31c6a745edcec9395021ef13ca0f0122f (diff)
downloadgcc-a32f2771a5b1265435b332f15020b66bed552af4.zip
gcc-a32f2771a5b1265435b332f15020b66bed552af4.tar.gz
gcc-a32f2771a5b1265435b332f15020b66bed552af4.tar.bz2
c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.c: Remove USE_CPPLIB conditional inclusions. * c-common.h: Similarly. * c-decl.c: Similarly. * c-lang.c: Similarly. * c-lex.c: Similarly. * c-parse.in: Similarly. * c-pragma.c: Similarly. * c-pragma.h: Similarly. * gcc.c: Similarly. * toplev.c: Similarly. * cp/cp-tree.h: Similarly. * cp/decl2.c: Similarly. * cp/lang-specs.h: Similarly. * cp/lex.c: Similarly. * cp/lex.h: Similarly. * cp/spew.c: Similarly. * java/lang-options.h: Similarly. * objc/lang-specs.h: Similarly. * objc/objc-act.c: Similarly. * configure.in: Remove configure option. * config.in: Regenerate. * configure: Regenerate. From-SVN: r37742
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 1c9fe38..8197265 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -34,13 +34,10 @@ Boston, MA 02111-1307, USA. */
#include "expr.h"
#include "c-tree.h"
#include "c-lex.h"
-
-static int c_tree_printer PARAMS ((output_buffer *));
-
-#if USE_CPPLIB
#include "cpplib.h"
+
extern cpp_reader parse_in;
-#endif
+static int c_tree_printer PARAMS ((output_buffer *));
/* Each of the functions defined here
is an alternative to a function in objc-actions.c. */
@@ -56,10 +53,9 @@ lang_decode_option (argc, argv)
void
lang_init_options ()
{
-#if USE_CPPLIB
cpp_init ();
cpp_reader_init (&parse_in, CLK_GNUC89);
-#endif
+
/* Mark as "unspecified". */
flag_bounds_check = -1;
}
@@ -80,13 +76,6 @@ lang_init ()
mesg_implicit_function_declaration = 0;
}
- /* the beginning of the file is a new line; check for # */
- /* With luck, we discover the real source file's name from that
- and put it in input_filename. */
-#if !USE_CPPLIB
- ungetc (check_newline (), finput);
-#endif
-
save_lang_status = &push_c_function_context;
restore_lang_status = &pop_c_function_context;
mark_lang_status = &mark_c_function_context;