------- Comment #7 from tromey at gcc dot gnu dot org 2008-05-21 21:53 ------- Subject: Bug 27777
Author: tromey Date: Wed May 21 21:52:57 2008 New Revision: 135740 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135740 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/cpp/pr27777.c Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/directives.c trunk/libcpp/errors.c trunk/libcpp/include/cpplib.h trunk/libcpp/internal.h trunk/libcpp/lex.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27777