summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.c')
-rwxr-xr-xgcc/c-common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 19e9207..a55df35 100755
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -2796,6 +2796,13 @@ unsigned char *yy_cur, *yy_lim;
#define GETC() (yy_cur < yy_lim ? *yy_cur++ : yy_get_token ())
#define UNGETC(c) ((c), yy_cur--)
+void cpplib_init()
+{
+ cpp_reader_init (&parse_in);
+ parse_in.opts = &parse_options;
+ cpp_options_init (&parse_options);
+}
+
int
yy_get_token ()
{