diff --git a/src/fortrancode.l b/src/fortrancode.l index f14867cf0c4..4cd1b3a643d 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -925,7 +925,12 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I startScope(); generateLink(*g_code,yytext); } -"(".* { // ignore rest of line +"result"/{BS}"("[^)]*")" { + startFontClass("keyword"); + codifyLines(yytext); + endFontClass(); + } +"("[^)]*")" { // ignore rest of line codifyLines(yytext); } "\n" { codifyLines(yytext);