summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-08-20 15:24:18 (GMT)
committerGitHub <noreply@github.com>2016-08-20 15:24:18 (GMT)
commit0eaf26bff8f748da78ce276ac5aefafd13a4a6e6 (patch)
treef89b2ad1dd639e601ad7bca027bcefc8495c3ce5 /src
parentccc2e18857c1b2086fa2e6e977e82218b33d6770 (diff)
parent3f559575d63f2fd29888107afae85f4cc902b189 (diff)
downloadDoxygen-0eaf26bff8f748da78ce276ac5aefafd13a4a6e6.zip
Doxygen-0eaf26bff8f748da78ce276ac5aefafd13a4a6e6.tar.gz
Doxygen-0eaf26bff8f748da78ce276ac5aefafd13a4a6e6.tar.bz2
Merge pull request #501 from albert-github/feature/bug_code_keyword_operator_assignment
Color code word OPERATOR and ASSIGNMENT as keyword in FORTRAN code
Diffstat (limited to 'src')
-rw-r--r--src/fortrancode.l10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index 4cd1b3a..a2a5d1a 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -1128,6 +1128,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 {