diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-21 21:52:57 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-21 21:52:57 +0000 |
commit | c0770282470be30c1aa3b581d7d80b570edc9b29 (patch) | |
tree | a31b212aa429bae765ecae0b494fda6a486c56a5 /libcpp/errors.c | |
parent | 57d460a6da5a86f6b48e232431425fb75e0d9e3d (diff) |
gcc/testsuite
PR preprocessor/27777:
* gcc.dg/cpp/pr27777.c: New file.
libcpp
PR preprocessor/27777:
* lex.c (cpp_output_line_to_string): New function.
* internal.h (_cpp_begin_message): Don't declare.
* errors.c (_cpp_begin_message): Now static.
* include/cpplib.h (cpp_output_line_to_string): Declare.
* directives.c (do_diagnostic): Rewrote. Use
cpp_output_line_to_string. Don't use _cpp_begin_message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135740 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/errors.c')
-rw-r--r-- | libcpp/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/errors.c b/libcpp/errors.c index 0b7c1e0f458b..5e8e637276dd 100644 --- a/libcpp/errors.c +++ b/libcpp/errors.c @@ -76,7 +76,7 @@ print_location (cpp_reader *pfile, source_location line, unsigned int col) big enough max_column_hint.) Returns 0 if the error has been suppressed. */ -int +static int _cpp_begin_message (cpp_reader *pfile, int code, source_location src_loc, unsigned int column) { |