summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmCommandArgumentLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmCommandArgumentLexer.cxx')
-rw-r--r--Source/LexerParser/cmCommandArgumentLexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmCommandArgumentLexer.cxx b/Source/LexerParser/cmCommandArgumentLexer.cxx
index c96f8b3..5879912 100644
--- a/Source/LexerParser/cmCommandArgumentLexer.cxx
+++ b/Source/LexerParser/cmCommandArgumentLexer.cxx
@@ -671,7 +671,7 @@ Modify cmCommandArgumentLexer.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 "cmCommandArgumentParserTokens.h"