aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexBaan.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexBaan.cxx')
-rw-r--r--lexers/LexBaan.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexBaan.cxx b/lexers/LexBaan.cxx
index 9d1f20972..30dc4dada 100644
--- a/lexers/LexBaan.cxx
+++ b/lexers/LexBaan.cxx
@@ -524,7 +524,7 @@ void SCI_METHOD LexerBaan::Lex(Sci_PositionU startPos, Sci_Position length, int
sc.SetState(SCE_BAAN_DEFAULT);
break;
case SCE_BAAN_NUMBER:
- if (IsASpaceOrTab(sc.ch) || sc.ch == '\r' || sc.ch == '\n') {
+ if (IsASpaceOrTab(sc.ch) || sc.ch == '\r' || sc.ch == '\n' || IsAnOperator(sc.ch)) {
sc.SetState(SCE_BAAN_DEFAULT);
}
else if ((numberIsHex && !(MakeLowerCase(sc.ch) == 'x' || MakeLowerCase(sc.ch) == 'e' ||