summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authorAdrian Negreanu <groleo@gmail.com>2015-04-17 07:42:09 (GMT)
committerAdrian Negreanu <groleo@gmail.com>2015-04-17 07:42:09 (GMT)
commit4fef5e6a61658c7eb0ce9c20517571e21227bc60 (patch)
tree8e3deb15e69456a77b64a6af15f726968889295f /src/fortranscanner.l
parent85249aa2546d66354fbfab56459a22b97223e813 (diff)
parentc4e631c991c8d7a6380270b193f5628ed00968c1 (diff)
downloadDoxygen-4fef5e6a61658c7eb0ce9c20517571e21227bc60.zip
Doxygen-4fef5e6a61658c7eb0ce9c20517571e21227bc60.tar.gz
Doxygen-4fef5e6a61658c7eb0ce9c20517571e21227bc60.tar.bz2
Merge https://github.com/doxygen/doxygen
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 1cfa13d..094bfb1 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -485,7 +485,7 @@ SCOPENAME ({ID}{BS}"::"{BS})*
<InterfaceBody>^{BS}end{BS}interface({BS_}{ID})? {
// end scope only if GENERIC interface
- last_entry->parent()->endBodyLine = yyLineNr - 1;
+ if (ifType == IF_GENERIC)last_entry->parent()->endBodyLine = yyLineNr - 1;
if (ifType == IF_GENERIC && !endScope(current_root))
yyterminate();