summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-02 16:00:33 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-02 16:00:33 +0000
commit351855a5cb5432c9ed4827ec0fe3587dbc0b76a7 (patch)
tree9d41284e35f5458ce928fdeccb6b5886eb42185f /libcpp
parent06724b5995bae18fddb0f5fdcad090941ce908e3 (diff)
downloadgcc-351855a5cb5432c9ed4827ec0fe3587dbc0b76a7.tar.gz
2014-12-02 Manuel López-Ibáñez <manu@gcc.gnu.org>
* 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
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