summaryrefslogtreecommitdiff
path: root/Source/LexerParser/cmExprLexer.in.l
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmExprLexer.in.l')
-rw-r--r--Source/LexerParser/cmExprLexer.in.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmExprLexer.in.l b/Source/LexerParser/cmExprLexer.in.l
index 89d13811d0..f8a4224318 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"