aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-10-12 07:38:05 +0000
committerChristophe Lyon <clyon@gcc.gnu.org>2018-10-12 09:38:05 +0200
commit4dc003fffabd35361fb77a40f077805d21184f9c (patch)
tree99bd17147b230c0b4c6f4ee8a8135e7d14091532
parent79371671cb49d19c41a75d203420f65c39c12b21 (diff)
downloadgcc-4dc003fffabd35361fb77a40f077805d21184f9c.zip
gcc-4dc003fffabd35361fb77a40f077805d21184f9c.tar.gz
gcc-4dc003fffabd35361fb77a40f077805d21184f9c.tar.bz2
Fix typo in previous commit.
2018-10-12 Christophe Lyon <christophe.lyon@linaro.org> PR c++/87364 * c-pretty-print.c (c_pretty_printer::constant): Fix typo. From-SVN: r265078
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c-pretty-print.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 3d5fd4f..d5f3619 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-12 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR c++/87364
+ * c-pretty-print.c (c_pretty_printer::constant): Fix typo.
+
2018-10-11 Will Wray <wjwray@gmail.com>
PR c++/87364
diff --git a/gcc/c-family/c-pretty-print.c b/gcc/c-family/c-pretty-print.c
index bdd5567..a13cd84 100644
--- a/gcc/c-family/c-pretty-print.c
+++ b/gcc/c-family/c-pretty-print.c
@@ -1138,7 +1138,7 @@ c_pretty_printer::constant (tree e)
else if (type == char_type_node)
pp_c_character_constant (this, e);
else if (TREE_CODE (type) == ENUMERAL_TYPE)
- pp_c_enumeration_constant (this, e))
+ pp_c_enumeration_constant (this, e);
else
pp_c_integer_constant (this, e);
}