summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-08-27 13:36:18 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-08-27 13:36:18 (GMT)
commit404468ac5484d54e47129ce2a00b3ad6e1c2c72a (patch)
tree862e57f75d2a0270fd4754b54aab1993e3333a2b
parent0e2e8916f81892c891a33c5435024776ca0f570f (diff)
downloadDoxygen-404468ac5484d54e47129ce2a00b3ad6e1c2c72a.zip
Doxygen-404468ac5484d54e47129ce2a00b3ad6e1c2c72a.tar.gz
Doxygen-404468ac5484d54e47129ce2a00b3ad6e1c2c72a.tar.bz2
Better handling of implicit statement in source code browser
When using e.g. IMPLICIT INTEGER only the IMPLICIT was seen as keyword and INTEGER was not seen as keyword. Now types are seen as keywords as well.
-rw-r--r--src/fortrancode.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index af1a82e..fb91a83 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -795,7 +795,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
codifyLines(yytext);
endFontClass();
}
-<Start>"implicit"{BS}"none" {
+<Start>"implicit"{BS}("none"|{TYPE_SPEC}) {
startFontClass("keywordtype");
codifyLines(yytext);
endFontClass();