aboutsummaryrefslogtreecommitdiff
path: root/libcpp/init.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-06-10 16:10:11 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-06-10 16:10:11 +0100
commit1cb4261144d0e97c0f0faf79fbfa0230dcedaf63 (patch)
tree0f4c67e8c37175dabfb3433ca633c71e5236840c /libcpp/init.c
parenta51d1999d80d29451e9071149f654e301b61c16e (diff)
downloadgcc-1cb4261144d0e97c0f0faf79fbfa0230dcedaf63.zip
gcc-1cb4261144d0e97c0f0faf79fbfa0230dcedaf63.tar.gz
gcc-1cb4261144d0e97c0f0faf79fbfa0230dcedaf63.tar.bz2
common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++.
gcc: * common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++. gcc/c-family: * c-opts.c (c_common_handle_option): Don't handle OPT_fshow_column. libcpp: * include/cpplib.h (struct cpp_options): Remove show_column. * init.c (cpp_create_reader, post_options): Don't set show_column. From-SVN: r160553
Diffstat (limited to 'libcpp/init.c')
-rw-r--r--libcpp/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcpp/init.c b/libcpp/init.c
index ae5ae45..c5b8c28 100644
--- a/libcpp/init.c
+++ b/libcpp/init.c
@@ -156,7 +156,6 @@ cpp_create_reader (enum c_lang lang, hash_table *table,
CPP_OPTION (pfile, warn_multichar) = 1;
CPP_OPTION (pfile, discard_comments) = 1;
CPP_OPTION (pfile, discard_comments_in_macro_exp) = 1;
- CPP_OPTION (pfile, show_column) = 1;
CPP_OPTION (pfile, tabstop) = 8;
CPP_OPTION (pfile, operator_names) = 1;
CPP_OPTION (pfile, warn_trigraphs) = 2;
@@ -717,8 +716,6 @@ post_options (cpp_reader *pfile)
{
CPP_OPTION (pfile, cplusplus_comments) = 0;
- /* Traditional CPP does not accurately track column information. */
- CPP_OPTION (pfile, show_column) = 0;
CPP_OPTION (pfile, trigraphs) = 0;
CPP_OPTION (pfile, warn_trigraphs) = 0;
}