summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-09-07 07:43:25 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-09-07 07:43:25 (GMT)
commitfabd1194a2e3c2536dddc19945c568a690b17031 (patch)
tree4d873cec070157cb4a61cc36737d54acc896dde7 /src
parent83c1a1278a48cbcd5d31f721d247e611c61c4661 (diff)
downloadDoxygen-fabd1194a2e3c2536dddc19945c568a690b17031.zip
Doxygen-fabd1194a2e3c2536dddc19945c568a690b17031.tar.gz
Doxygen-fabd1194a2e3c2536dddc19945c568a690b17031.tar.bz2
Bug 634763 - Fortran: external subroutine as dummy argument not recognized
Besides as as attribute the external can also be used as "type"
Diffstat (limited to 'src')
-rw-r--r--src/fortranscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 765f887..034bd5c 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -255,7 +255,7 @@ NUM_TYPE (complex|integer|logical|real)
LOG_OPER (\.and\.|\.eq\.|\.eqv\.|\.ge\.|\.gt\.|\.le\.|\.lt\.|\.ne\.|\.neqv\.|\.or\.|\.not\.)
KIND {ARGS}
CHAR (CHARACTER{ARGS}?|CHARACTER{BS}"*"({BS}[0-9]+|{ARGS}))
-TYPE_SPEC (({NUM_TYPE}({BS}"*"{BS}[0-9]+)?)|({NUM_TYPE}{KIND})|DOUBLE{BS}COMPLEX|DOUBLE{BS}PRECISION|{CHAR}|TYPE{ARGS}|CLASS{ARGS}|PROCEDURE{ARGS}?)
+TYPE_SPEC (({NUM_TYPE}({BS}"*"{BS}[0-9]+)?)|({NUM_TYPE}{KIND})|EXTERNAL|DOUBLE{BS}COMPLEX|DOUBLE{BS}PRECISION|{CHAR}|TYPE{ARGS}|CLASS{ARGS}|PROCEDURE{ARGS}?)
INTENT_SPEC intent{BS}"("{BS}(in|out|in{BS}out){BS}")"
ATTR_SPEC (ALLOCATABLE|DIMENSION{ARGS}|EXTERNAL|{INTENT_SPEC}|INTRINSIC|OPTIONAL|PARAMETER|POINTER|PROTECTED|PRIVATE|PUBLIC|SAVE|TARGET|NOPASS|PASS{ARGS}?|DEFERRED|NON_OVERRIDABLE)