summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmDependsJavaLexer.in.l
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmDependsJavaLexer.in.l')
-rw-r--r--Source/LexerParser/cmDependsJavaLexer.in.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmDependsJavaLexer.in.l b/Source/LexerParser/cmDependsJavaLexer.in.l
index b48d1bd..3dd3c22 100644
--- a/Source/LexerParser/cmDependsJavaLexer.in.l
+++ b/Source/LexerParser/cmDependsJavaLexer.in.l
@@ -27,7 +27,7 @@ Modify cmDependsJavaLexer.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 "cmDependsJavaParserTokens.h"