Fix typo in previous commit.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 12 Oct 2018 07:38:05 +0000 (07:38 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 12 Oct 2018 07:38:05 +0000 (09:38 +0200)
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

gcc/c-family/ChangeLog
gcc/c-family/c-pretty-print.c

index 3d5fd4faf7259450afb8370b9ab30f6df7a4209e..d5f361947cef97ec60af1f08de3dd16b55e6025e 100644 (file)
@@ -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
index bdd5567614d44a2bca93df2a86c4b5cc7d23edb9..a13cd8490533d21a83c75b41e58af906d1a693d2 100644 (file)
@@ -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);
       }