From 404468ac5484d54e47129ce2a00b3ad6e1c2c72a Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 27 Aug 2015 15:36:18 +0200 Subject: [PATCH] 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. --- src/fortrancode.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fortrancode.l b/src/fortrancode.l index af1a82e66ef..fb91a83000f 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(); } -"implicit"{BS}"none" { +"implicit"{BS}("none"|{TYPE_SPEC}) { startFontClass("keywordtype"); codifyLines(yytext); endFontClass();