summaryrefslogtreecommitdiff
path: root/Source/LexerParser/cmFortranLexer.in.l
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmFortranLexer.in.l')
-rw-r--r--Source/LexerParser/cmFortranLexer.in.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmFortranLexer.in.l b/Source/LexerParser/cmFortranLexer.in.l
index f752f37527..3d38a7dada 100644
--- a/Source/LexerParser/cmFortranLexer.in.l
+++ b/Source/LexerParser/cmFortranLexer.in.l
@@ -37,7 +37,7 @@ Modify cmFortranLexer.cxx:
/* Replace the lexer input function. */
#undef YY_INPUT
#define YY_INPUT(buf, result, max_size) \
- { result = cmFortranParser_Input(yyextra, buf, max_size); }
+ do { result = cmFortranParser_Input(yyextra, buf, max_size); } while (0)
/* Include the set of tokens from the parser. */
#include "cmFortranParserTokens.h"