[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 39e12bd..285f414 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 40ff801..9164a07 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;