summaryrefslogtreecommitdiff
path: root/Source/LexerParser/cmFortranParser.y
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmFortranParser.y')
-rw-r--r--Source/LexerParser/cmFortranParser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/LexerParser/cmFortranParser.y b/Source/LexerParser/cmFortranParser.y
index e461160c6..a3e1c24b1 100644
--- a/Source/LexerParser/cmFortranParser.y
+++ b/Source/LexerParser/cmFortranParser.y
@@ -92,6 +92,8 @@ static void cmFortran_yyerror(yyscan_t yyscanner, const char* message)
%token SUBMODULE
%token USE
+%destructor { free($$); } WORD STRING CPP_INCLUDE_ANGLE
+
/*-------------------------------------------------------------------------*/
/* grammar */
%%