summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authorChris Hansen <hansec@uw.edu>2014-11-21 18:03:58 (GMT)
committerChris Hansen <hansec@uw.edu>2014-11-21 18:03:58 (GMT)
commitbe933bfacadaca98aaf4713746201b1fc21177de (patch)
treea957407b06b5e2fd6e09475cbc78a5262d4687c3 /src/fortranscanner.l
parentc6e41226574c94a869ad0757b53027562ef189e1 (diff)
downloadDoxygen-be933bfacadaca98aaf4713746201b1fc21177de.zip
Doxygen-be933bfacadaca98aaf4713746201b1fc21177de.tar.gz
Doxygen-be933bfacadaca98aaf4713746201b1fc21177de.tar.bz2
Convert FORTRAN modules to namespaces
This helps fix linking issues and ambiguity related to the difference between classes and modules in FORTRAN 2003+.
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r--src/fortranscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 8415e43..f54f2d3 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -2029,7 +2029,7 @@ static void addModule(const char *name, bool isModule)
DBG_CTX((stderr, "0=========> got module %s\n", name));
if (isModule)
- current->section = Entry::CLASS_SEC;
+ current->section = Entry::NAMESPACE_SEC;
else
current->section = Entry::FUNCTION_SEC;