From 1cb4261144d0e97c0f0faf79fbfa0230dcedaf63 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 10 Jun 2010 16:10:11 +0100 Subject: 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 --- libcpp/ChangeLog | 5 +++++ libcpp/include/cpplib.h | 5 +---- libcpp/init.c | 3 --- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'libcpp') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index d6d9b6c..d52da05 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2010-06-10 Joseph Myers + + * 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 PR bootstrap/44432 diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 0828ea4..ba79262 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 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; } -- cgit v1.1