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
This commit is contained in:
Joseph Myers 2010-06-10 16:10:11 +01:00 committed by Joseph Myers
parent a51d1999d8
commit 1cb4261144
7 changed files with 16 additions and 12 deletions

View file

@ -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;
}