diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2014-12-02 16:00:33 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2014-12-02 16:00:33 +0000 |
commit | 9c320ab1f162ae90a16d99851e7320ad8291e4f4 (patch) | |
tree | 9d41284e35f5458ce928fdeccb6b5886eb42185f /libcpp | |
parent | 3c610413cae657fc795ce8f30b2eedc2c5238fea (diff) | |
download | gcc-9c320ab1f162ae90a16d99851e7320ad8291e4f4.zip gcc-9c320ab1f162ae90a16d99851e7320ad8291e4f4.tar.gz gcc-9c320ab1f162ae90a16d99851e7320ad8291e4f4.tar.bz2 |
line-map.c (linemap_add): Fix typo.
2014-12-02 Manuel López-Ibáñez <manu@gcc.gnu.org>
* line-map.c (linemap_add): Fix typo.
(linemap_line_start): Fix whitespace.
From-SVN: r218276
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/line-map.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index f9a04f9..4bfd329 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 39c057f..c9838a8 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 |