From: Tom de Vries Date: Sun, 5 Nov 2017 09:58:16 +0000 (+0000) Subject: [libcpp] Remove semicolon after do {} while (0) in BUF_APPEND X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c830c7d5c738a21dc6d8021ce28955590361264e;p=gcc.git [libcpp] Remove semicolon after do {} while (0) in BUF_APPEND 2017-11-05 Tom de Vries PR other/82784 * lex.c (BUF_APPEND): Remove semicolon after "do {} while (0)". From-SVN: r254424 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 39e12bda927..285f4143d5f 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2017-11-05 Tom de Vries + + PR other/82784 + * lex.c (BUF_APPEND): Remove semicolon after + "do {} while (0)". + 2017-10-31 David Malcolm * directives.c (_cpp_handle_directive): Update for renaming of diff --git a/libcpp/lex.c b/libcpp/lex.c index 40ff801e8e3..9164a0745b2 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -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;