summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Hansen <hansec@uw.edu>2014-11-28 18:34:39 (GMT)
committerChris Hansen <hansec@uw.edu>2014-11-28 18:34:39 (GMT)
commit7ace28eb7bb5f42c3571e5b7be1ab954f4509e17 (patch)
tree2e152abe3929aa6e990ad39313f6e1a40242b2fe
parentbe933bfacadaca98aaf4713746201b1fc21177de (diff)
downloadDoxygen-7ace28eb7bb5f42c3571e5b7be1ab954f4509e17.zip
Doxygen-7ace28eb7bb5f42c3571e5b7be1ab954f4509e17.tar.gz
Doxygen-7ace28eb7bb5f42c3571e5b7be1ab954f4509e17.tar.bz2
Fix rules for closing FORTRAN module and typedef scopes
-rw-r--r--src/fortrancode.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index ea7cef3..fabd947 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -893,11 +893,11 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
yy_pop_state();
YY_FTN_REJECT;
}
-<Start>"end"({BS_}"type").* { // just reset currentClass, rest is done in following rule
+<Start>^{BS}"end"({BS_}"type").* { // just reset currentClass, rest is done in following rule
currentClass=0;
YY_FTN_REJECT;
}
-<Start>"end"({BS_}"module").* { // just reset currentModule, rest is done in following rule
+<Start>^{BS}"end"({BS_}"module").* { // just reset currentModule, rest is done in following rule
currentModule=0;
YY_FTN_REJECT;
}