diff options
author | Brad King <brad.king@kitware.com> | 2019-01-16 14:52:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-16 14:52:45 (GMT) |
commit | bd54cc774a5b14720a9e741fc40192ea11106443 (patch) | |
tree | f8d0bab5ca429938678e74af746ee9ab0ccdd778 /Source/LexerParser/cmExprLexer.in.l | |
parent | e2c39e05732409d60e7921b45a70dd8b9aa24b5a (diff) | |
parent | b056bc34258267c4ae59c72e3777d0a0f0b5a1b1 (diff) | |
download | CMake-bd54cc774a5b14720a9e741fc40192ea11106443.zip CMake-bd54cc774a5b14720a9e741fc40192ea11106443.tar.gz CMake-bd54cc774a5b14720a9e741fc40192ea11106443.tar.bz2 |
Merge topic 'semi-warnings'
b056bc3425 Fix most clang -Wextra-semi-stmt warnings in C++ files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2795
Diffstat (limited to 'Source/LexerParser/cmExprLexer.in.l')
-rw-r--r-- | Source/LexerParser/cmExprLexer.in.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmExprLexer.in.l b/Source/LexerParser/cmExprLexer.in.l index 89d1381..f8a4224 100644 --- a/Source/LexerParser/cmExprLexer.in.l +++ b/Source/LexerParser/cmExprLexer.in.l @@ -25,7 +25,7 @@ Modify cmExprLexer.cxx: /* Replace the lexer input function. */ #undef YY_INPUT #define YY_INPUT(buf, result, max_size) \ - { result = yyextra->LexInput(buf, max_size); } + do { result = yyextra->LexInput(buf, max_size); } while (0) /* Include the set of tokens from the parser. */ #include "cmExprParserTokens.h" |