Skip to content

Commit

Permalink
Fortran code color END (regression pull request 259)
Browse files Browse the repository at this point in the history
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 0ccda47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fortrancode.l
Expand Up @@ -757,7 +757,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
codifyLines(yytext); codifyLines(yytext);
endFontClass(); 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"); startFontClass("keywordflow");
codifyLines(yytext); codifyLines(yytext);
endFontClass(); endFontClass();
Expand Down

0 comments on commit 0ccda47

Please sign in to comment.