diff options
author | albert-github <albert.tests@gmail.com> | 2016-08-19 11:38:38 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2016-08-19 11:38:38 (GMT) |
commit | 3f559575d63f2fd29888107afae85f4cc902b189 (patch) | |
tree | f19990abbcd8479e9e20539a75e196984c4f6e25 /src | |
parent | f37c0e58c47c43e96417d4dcf1559e3f9d1b323b (diff) | |
download | Doxygen-3f559575d63f2fd29888107afae85f4cc902b189.zip Doxygen-3f559575d63f2fd29888107afae85f4cc902b189.tar.gz Doxygen-3f559575d63f2fd29888107afae85f4cc902b189.tar.bz2 |
Color code word OPERATOR and ASSIGNMENT as keyword in FORTRAN code
Diffstat (limited to 'src')
-rw-r--r-- | src/fortrancode.l | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index f14867c..d5cf663 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -1123,6 +1123,16 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I codifyLines(yytext); endFontClass(); } +<*>"assignment"/{BS}"("{BS}"="{BS}")" { + startFontClass("keyword"); + codifyLines(yytext); + endFontClass(); + } +<*>"operator"/{BS}"("[^)]*")" { + startFontClass("keyword"); + codifyLines(yytext); + endFontClass(); + } /*------ preprocessor --------------------------------------------*/ <Start>"#".*\n { |