diff options
-rw-r--r-- | lexers/LexBaan.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lexers/LexBaan.cxx b/lexers/LexBaan.cxx index 38ee043e8..ddf5b9385 100644 --- a/lexers/LexBaan.cxx +++ b/lexers/LexBaan.cxx @@ -4,6 +4,7 @@ ** Based heavily on LexCPP.cxx **/ // Copyright 2001- by Vamsi Potluru <vamsi@who.net> & Praveen Ambekar <ambekarpraveen@yahoo.com> +// Maintainer Email: oirfeodent@yahoo.co.in // The License.txt file describes the conditions under which this software may be distributed. // C standard library @@ -606,7 +607,7 @@ void SCI_METHOD LexerBaan::Lex(Sci_PositionU startPos, Sci_Position length, int } break; case SCE_BAAN_COMMENT: - if (sc.atLineEnd) { + if (sc.ch == '\r' || sc.ch == '\n') { sc.SetState(SCE_BAAN_DEFAULT); } break; |