aboutsummaryrefslogtreecommitdiff
path: root/gcc/cccp.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-07 21:39:38 +0000
committerRichard Stallman <rms@gnu.org>1993-10-07 21:39:38 +0000
commit4514982879a63d6f454da3d6d6132fd5d7ab42ae (patch)
treed8a00a30b46b8b606c49fa9c51c66785963d12b9 /gcc/cccp.c
parentf36a6110263bacbc5abf68435e3c5c3c46d532e7 (diff)
downloadgcc-4514982879a63d6f454da3d6d6132fd5d7ab42ae.zip
gcc-4514982879a63d6f454da3d6d6132fd5d7ab42ae.tar.gz
gcc-4514982879a63d6f454da3d6d6132fd5d7ab42ae.tar.bz2
(main): New option -lang-c-c++-comments.
From-SVN: r5666
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r--gcc/cccp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index d659da5..3648b92 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -1234,6 +1234,8 @@ main (argc, argv)
cplusplus = 0, cplusplus_comments = 0, objc = 0;
if (! strcmp (argv[i], "-lang-c++"))
cplusplus = 1, cplusplus_comments = 1, objc = 0;
+ if (! strcmp (argv[i], "-lang-c-c++-comments"))
+ cplusplus = 0, cplusplus_comments = 1, objc = 0;
if (! strcmp (argv[i], "-lang-objc"))
objc = 1, cplusplus = 0, cplusplus_comments = 1;
if (! strcmp (argv[i], "-lang-objc++"))