mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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:
committed by
Joseph Myers
parent
a51d1999d8
commit
1cb4261144
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user