[libcpp] Remove semicolon after do {} while (0) in BUF_APPEND
authorTom de Vries <tom@codesourcery.com>
Sun, 5 Nov 2017 09:58:16 +0000 (09:58 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 5 Nov 2017 09:58:16 +0000 (09:58 +0000)
2017-11-05  Tom de Vries  <tom@codesourcery.com>

PR other/82784
* lex.c (BUF_APPEND): Remove semicolon after
"do {} while (0)".

From-SVN: r254424

libcpp/ChangeLog
libcpp/lex.c

index 39e12bda927f9f7042e66567276f5de259e75488..285f4143d5f682f140e270f3290aed483c791ca5 100644 (file)
@@ -1,3 +1,9 @@
+2017-11-05  Tom de Vries  <tom@codesourcery.com>
+
+       PR other/82784
+       * lex.c (BUF_APPEND): Remove semicolon after
+       "do {} while (0)".
+
 2017-10-31  David Malcolm  <dmalcolm@redhat.com>
 
        * directives.c (_cpp_handle_directive): Update for renaming of
index 40ff801e8e32b421df946ac5296037a28449119e..9164a0745b21f81017c5833e5611b37380630b46 100644 (file)
@@ -1647,7 +1647,7 @@ lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base,
                    (const uchar *)(STR), (LEN));               \
            temp_buffer_len += (LEN);                           \
          }                                                     \
-      } while (0);
+      } while (0)
 
   orig_base = base;
   ++cur;