[libcpp] Remove semicolon after do {} while (0) in BUF_APPEND

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
This commit is contained in:
Tom de Vries 2017-11-05 09:58:16 +00:00 committed by Tom de Vries
parent 9739c3d303
commit c830c7d5c7
2 changed files with 7 additions and 1 deletions

View 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

View 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;