From 9c320ab1f162ae90a16d99851e7320ad8291e4f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Tue, 2 Dec 2014 16:00:33 +0000 Subject: [PATCH] line-map.c (linemap_add): Fix typo. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2014-12-02 Manuel López-Ibáñez * line-map.c (linemap_add): Fix typo. (linemap_line_start): Fix whitespace. From-SVN: r218276 --- libcpp/ChangeLog | 5 +++++ libcpp/line-map.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index f9a04f9376e..4bfd329a2ad 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 39c057f7498..c9838a81721 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.30.2