summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-08-19 11:38:38 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-08-19 11:38:38 (GMT)
commit3f559575d63f2fd29888107afae85f4cc902b189 (patch)
treef19990abbcd8479e9e20539a75e196984c4f6e25
parentf37c0e58c47c43e96417d4dcf1559e3f9d1b323b (diff)
downloadDoxygen-3f559575d63f2fd29888107afae85f4cc902b189.zip
Doxygen-3f559575d63f2fd29888107afae85f4cc902b189.tar.gz
Doxygen-3f559575d63f2fd29888107afae85f4cc902b189.tar.bz2
Color code word OPERATOR and ASSIGNMENT as keyword in FORTRAN code
-rw-r--r--src/fortrancode.l10
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 {