aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
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;