From a2a4bbef31c224b635bd20c8d2955daa0bc81964 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 22 Jul 2004 23:04:20 +0000 Subject: Fix from Kein-Hong Man to treat .. as an operator rather than part of an identifier. --- src/LexLua.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexLua.cxx b/src/LexLua.cxx index 3781eed83..3e4b25cb5 100644 --- a/src/LexLua.cxx +++ b/src/LexLua.cxx @@ -138,7 +138,7 @@ static void ColouriseLuaDoc( sc.SetState(SCE_LUA_DEFAULT); } } else if (sc.state == SCE_LUA_IDENTIFIER) { - if (!IsAWordChar(sc.ch)) { + if (!IsAWordChar(sc.ch) || sc.Match('.', '.')) { char s[100]; sc.GetCurrent(s, sizeof(s)); if (keywords.InList(s)) { -- cgit v1.2.3