From 351855a5cb5432c9ed4827ec0fe3587dbc0b76a7 Mon Sep 17 00:00:00 2001 From: manu Date: Tue, 2 Dec 2014 16:00:33 +0000 Subject: [PATCH] =?utf8?q?2014-12-02=20=20Manuel=20L=C3=B3pez-Ib=C3=A1?= =?utf8?q?=C3=B1ez=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * line-map.c (linemap_add): Fix typo. (linemap_line_start): Fix whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218276 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/ChangeLog | 5 +++++ libcpp/line-map.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index f9a04f9376e4..4bfd329a2ad2 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2014-12-02 Manuel López-Ibáñez + + * line-map.c (linemap_add): Fix typo. + (linemap_line_start): Fix whitespace. + 2014-11-29 John Schmerge PR preprocessor/41698 diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 39c057f74982..c9838a81721b 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -330,7 +330,7 @@ linemap_add (struct line_maps *set, enum lc_reason reason, if (MAIN_FILE_P (map - 1)) { - /* So this _should_ means we are leaving the main file -- + /* So this _should_ mean we are leaving the main file -- effectively ending the compilation unit. But to_file not being NULL means the caller thinks we are leaving to another file. This is an erroneous behaviour but we'll -- 2.47.3