summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-08-20 15:25:50 (GMT)
committerGitHub <noreply@github.com>2016-08-20 15:25:50 (GMT)
commit360eda89ccebc82c3d31ab0eb7ec15e9c7ae0a7a (patch)
tree4614e632bd06128dd8e0a31d3e9c1e143f2f83db
parent0eaf26bff8f748da78ce276ac5aefafd13a4a6e6 (diff)
parentdc6019413c4609c49322e80d1ec2b089e85486f3 (diff)
downloadDoxygen-360eda89ccebc82c3d31ab0eb7ec15e9c7ae0a7a.zip
Doxygen-360eda89ccebc82c3d31ab0eb7ec15e9c7ae0a7a.tar.gz
Doxygen-360eda89ccebc82c3d31ab0eb7ec15e9c7ae0a7a.tar.bz2
Merge pull request #495 from melven/Fortran_file_types
Also map .f95, .f03 and .f08 file types to Fortran
-rw-r--r--src/config.xml3
-rwxr-xr-xsrc/util.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/config.xml b/src/config.xml
index abed704..4c13e9c 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -1337,6 +1337,9 @@ FILE_VERSION_INFO = "cleartool desc -fmt \%Vn"
<value name='*.py'/>
<value name='*.pyw'/>
<value name='*.f90'/>
+ <value name='*.f95'/>
+ <value name='*.f03'/>
+ <value name='*.f08'/>
<value name='*.f'/>
<value name='*.for'/>
<value name='*.tcl'/>
diff --git a/src/util.cpp b/src/util.cpp
index 1f49fb3..543291c 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -7132,6 +7132,9 @@ void initDefaultExtensionMapping()
updateLanguageMapping(".f", "fortran");
updateLanguageMapping(".for", "fortran");
updateLanguageMapping(".f90", "fortran");
+ updateLanguageMapping(".f95", "fortran");
+ updateLanguageMapping(".f03", "fortran");
+ updateLanguageMapping(".f08", "fortran");
updateLanguageMapping(".vhd", "vhdl");
updateLanguageMapping(".vhdl", "vhdl");
updateLanguageMapping(".tcl", "tcl");