aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-02-04 22:52:48 +0000
committernyamatongwe <devnull@localhost>2006-02-04 22:52:48 +0000
commit272d4cd5c319674967a17191d5aa9429881b9399 (patch)
treeda5902bbeba5c33c678b889e211d3d4d0dcefe4e /src
parent35e36390dd6924e73621f76ae2c3c64f7a126804 (diff)
downloadscintilla-mirror-272d4cd5c319674967a17191d5aa9429881b9399.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;