Skip to content

Commit

Permalink
Bug 565713 - Fortran: Does not recognize backslash at end of document…
Browse files Browse the repository at this point in the history
…ation line

Don't remove the end backslash in case of Fortran
  • Loading branch information
albert-github committed Jun 27, 2018
1 parent 154e877 commit ad24405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pre.l
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
}
<CopyLine>"\\"\r?/\n { // strip line continuation characters
if (getLanguageFromFileName(g_yyFileName)==SrcLangExt_Fortran) outputChar(*yytext);
}
<CopyLine>. {
outputChar(*yytext);
Expand Down

0 comments on commit ad24405

Please sign in to comment.