diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 15:10:11 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 15:10:11 +0000 |
commit | abf6a6177a213072a1de6bbec0045276b77c64e1 (patch) | |
tree | 0f4c67e8c37175dabfb3433ca633c71e5236840c /libcpp | |
parent | 5ee3ee8027fec5b20af20f121288b6756f6f9d5e (diff) | |
download | linaro-gcc-abf6a6177a213072a1de6bbec0045276b77c64e1.tar.gz linaro-gcc-abf6a6177a213072a1de6bbec0045276b77c64e1.tar.bz2 linaro-gcc-abf6a6177a213072a1de6bbec0045276b77c64e1.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160553 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/include/cpplib.h | 5 | ||||
-rw-r--r-- | libcpp/init.c | 3 |
3 files changed, 6 insertions, 7 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index d6d9b6cf7c2..d52da05f937 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2010-06-10 Joseph Myers <joseph@codesourcery.com> + + * include/cpplib.h (struct cpp_options): Remove show_column. + * init.c (cpp_create_reader, post_options): Don't set show_column. + 2010-06-09 Joern Rennecke <joern.rennecke@embecosm.com> PR bootstrap/44432 diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 0828ea40f93..ba79262f6cd 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -1,6 +1,6 @@ /* Definitions for CPP library. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2007, 2008, 2009 + 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Per Bothner, 1994-95. @@ -389,9 +389,6 @@ struct cpp_options bother trying to do macro expansion and whatnot. */ unsigned char preprocessed; - /* Print column number in error messages. */ - unsigned char show_column; - /* Nonzero means handle C++ alternate operator names. */ unsigned char operator_names; diff --git a/libcpp/init.c b/libcpp/init.c index ae5ae4548c8..c5b8c28e342 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; } |