summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsFortranLexer.cxx')
-rw-r--r--Source/cmDependsFortranLexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsFortranLexer.cxx b/Source/cmDependsFortranLexer.cxx
index 655f293..6653a98 100644
--- a/Source/cmDependsFortranLexer.cxx
+++ b/Source/cmDependsFortranLexer.cxx
@@ -655,6 +655,7 @@ Modify cmDependsFortranLexer.cxx:
- remove TABs
- remove "yyscanner" argument from these methods:
yy_fatal_error, cmDependsFortran_yyalloc, cmDependsFortran_yyrealloc, cmDependsFortran_yyfree
+ - remove "yyscanner = NULL" from end of cmDependsFortran_yylex_destroy
- remove all YY_BREAK lines occurring right after return statements
- change while ( 1 ) to for(;;)
@@ -2332,7 +2333,6 @@ int cmDependsFortran_yylex_destroy (yyscan_t yyscanner)
/* Destroy the main struct (reentrant only). */
cmDependsFortran_yyfree ( yyscanner , yyscanner );
- yyscanner = NULL;
return 0;
}