summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/line-map.c2
2 files changed, 6 insertions, 1 deletions
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 <manu@gcc.gnu.org>
+
+ * line-map.c (linemap_add): Fix typo.
+ (linemap_line_start): Fix whitespace.
+
2014-11-29 John Schmerge <jbschmerge@gmail.com>
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