diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 7c7f8dcdf05..11c86aa3377 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -510,8 +510,12 @@ cpp_create_reader (table, lang) /* Initialize lexer state. */ pfile->state.save_comments = ! CPP_OPTION (pfile, discard_comments); - /* Indicate date and time not yet calculated. */ + /* Set up static tokens. */ pfile->date.type = CPP_EOF; + pfile->avoid_paste.type = CPP_PADDING; + pfile->avoid_paste.val.source = NULL; + pfile->eof.type = CPP_EOF; + pfile->eof.flags = 0; /* Create a token buffer for the lexer. */ _cpp_init_tokenrun (&pfile->base_run, 250); |