diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-08-20 15:23:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-20 15:23:51 (GMT) |
commit | ccc2e18857c1b2086fa2e6e977e82218b33d6770 (patch) | |
tree | e2fd18d79ed046e5d758927edb49dd5d6e0b1340 | |
parent | 536b75b8c16d07692b4004b8f525327791ab30a2 (diff) | |
parent | 0f047eb1862193713889d10bccb4894df1f7c23d (diff) | |
download | Doxygen-ccc2e18857c1b2086fa2e6e977e82218b33d6770.zip Doxygen-ccc2e18857c1b2086fa2e6e977e82218b33d6770.tar.gz Doxygen-ccc2e18857c1b2086fa2e6e977e82218b33d6770.tar.bz2 |
Merge pull request #500 from albert-github/feature/bug_ftn_result_keyw
Color code word RESULT as keyword in FORTRAN code
-rw-r--r-- | src/fortrancode.l | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index f14867c..4cd1b3a 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); } -<Subprog>"(".* { // ignore rest of line +<Subprog>"result"/{BS}"("[^)]*")" { + startFontClass("keyword"); + codifyLines(yytext); + endFontClass(); + } +<Subprog>"("[^)]*")" { // ignore rest of line codifyLines(yytext); } <Subprog,Subprogend>"\n" { codifyLines(yytext); |