From 0ccda478e35eb420d644b6c39923f9c020e69c13 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 14 Dec 2014 11:58:01 +0100 Subject: Fortran code color END (regression pull request 259) This is a regression on pull request 259. Fortran code like: end if was not colored properly anymore. This has been corrected with this patch. --- src/fortrancode.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fortrancode.l b/src/fortrancode.l index d2f1c42..d68826f 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -757,7 +757,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I codifyLines(yytext); endFontClass(); } -"end"({BS}{FLOW})/[ \t\n] { // list is a bit long as not all have possible end +{BS}"end"({BS}{FLOW})/[ \t\n] { // list is a bit long as not all have possible end startFontClass("keywordflow"); codifyLines(yytext); endFontClass(); -- cgit v0.12