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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 6e04bd7..ed2b9e4 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -29,7 +29,10 @@ Boston, MA 02111-1307, USA. */
#include "output.h"
#if USE_CPPLIB
+#include "cpplib.h"
extern char *yy_cur;
+extern cpp_reader parse_in;
+extern cpp_options parse_options;
#endif
/* Each of the functions defined here
@@ -46,6 +49,11 @@ lang_decode_option (argc, argv)
void
lang_init_options ()
{
+#if USE_CPPLIB
+ cpp_reader_init (&parse_in);
+ parse_in.opts = &parse_options;
+ cpp_options_init (&parse_options);
+#endif
}
void