aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2006-02-04 22:52:48 +0000
committernyamatongwe <unknown>2006-02-04 22:52:48 +0000
commit4b2c9f2d49b825be300907f116f4896441af17da (patch)
treeda5902bbeba5c33c678b889e211d3d4d0dcefe4e /src
parent09c1ed3346814cafeafff5a3561308aa2b31fd6a (diff)
downloadscintilla-mirror-4b2c9f2d49b825be300907f116f4896441af17da.tar.gz
Patch from Kein-Hong Man to add length operator and improve list of known
functions.
Diffstat (limited to 'src')
-rw-r--r--src/LexLua.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LexLua.cxx b/src/LexLua.cxx
index 7f6df070a..169d3f4f8 100644
--- a/src/LexLua.cxx
+++ b/src/LexLua.cxx
@@ -51,7 +51,8 @@ static inline bool IsLuaOperator(int ch) {
ch == '{' || ch == '}' || ch == '~' ||
ch == '[' || ch == ']' || ch == ';' ||
ch == '<' || ch == '>' || ch == ',' ||
- ch == '.' || ch == '^' || ch == '%' || ch == ':') {
+ ch == '.' || ch == '^' || ch == '%' || ch == ':' ||
+ ch == '#') {
return true;
}
return false;