diff options
Diffstat (limited to 'Source/LexerParser/cmFortranParser.y')
-rw-r--r-- | Source/LexerParser/cmFortranParser.y | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/LexerParser/cmFortranParser.y b/Source/LexerParser/cmFortranParser.y index a5c8976..0b27060 100644 --- a/Source/LexerParser/cmFortranParser.y +++ b/Source/LexerParser/cmFortranParser.y @@ -138,6 +138,11 @@ stmt: cmFortranParser_SetInInterface(parser, true); free($2); } +| END INTERFACE WORD EOSTMT { + cmFortranParser* parser = cmFortran_yyget_extra(yyscanner); + cmFortranParser_SetInInterface(parser, false); + free($3); + } | END INTERFACE EOSTMT { cmFortranParser* parser = cmFortran_yyget_extra(yyscanner); cmFortranParser_SetInInterface(parser, false); |