From 688e7a53446776e4d7b49472b06fec29ea69ff17 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 21 Apr 2008 14:02:00 +0000 Subject: re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) libcpp PR libcpp/33415: * charset.c (_cpp_convert_input): Add buffer_start argument. Ignore UTF-8 BOM if seen. * internal.h (_cpp_convert_input): Add argument. * files.c (struct _cpp_file) : New field. (destroy_cpp_file): Free buffer_start, not buffer. (_cpp_pop_file_buffer): Likewise. (read_file_guts): Update. gcc/testsuite PR libcpp/33415: * gcc.dg/cpp/pr33415.c: New file. From-SVN: r134507 --- libcpp/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libcpp/ChangeLog') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 9eef6efb3e9..b80afd2550b 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,14 @@ +2008-04-21 Tom Tromey + + PR libcpp/33415: + * charset.c (_cpp_convert_input): Add buffer_start argument. + Ignore UTF-8 BOM if seen. + * internal.h (_cpp_convert_input): Add argument. + * files.c (struct _cpp_file) : New field. + (destroy_cpp_file): Free buffer_start, not buffer. + (_cpp_pop_file_buffer): Likewise. + (read_file_guts): Update. + 2008-04-18 Kris Van Hees * include/cpp-id-data.h (UC): Was U, conflicts with U"..." literal. -- cgit v1.2.3