Permalink
Browse files

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.
  • Loading branch information...
albert-github committed Dec 14, 2014
1 parent dc37f6c commit 0ccda478e35eb420d644b6c39923f9c020e69c13
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/fortrancode.l
@@ -757,7 +757,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
codifyLines(yytext);
endFontClass();
}
<Start>"end"({BS}{FLOW})/[ \t\n] { // list is a bit long as not all have possible end
<Start>{BS}"end"({BS}{FLOW})/[ \t\n] { // list is a bit long as not all have possible end
startFontClass("keywordflow");
codifyLines(yytext);
endFontClass();

0 comments on commit 0ccda47

Please sign in to comment.