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