diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 102e815..fa67ee2 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -408,6 +408,7 @@ cpp_options_init (opts) opts->dollars_in_ident = 1; opts->cplusplus_comments = 1; opts->warn_import = 1; + opts->discard_comments = 1; opts->pending = (struct cpp_pending *) xcalloc (1, sizeof (struct cpp_pending)); @@ -1600,7 +1601,7 @@ cpp_handle_option (pfile, argc, argv) break; case 'C': - opts->put_out_comments = 1; + opts->discard_comments = 0; break; case 'E': /* -E comes from cc -E; ignore it. */ |