aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexLua.cxx
diff options
context:
space:
mode:
authorKein-Hong Man <devnull@localhost>2015-12-11 13:05:50 +1100
committerKein-Hong Man <devnull@localhost>2015-12-11 13:05:50 +1100
commitfdc46e5d4307ef7481cffbe4f7aa895218e14227 (patch)
tree8daa4b13a23ea701822aa961444fd3d4f9e399e1 /lexers/LexLua.cxx
parent6f015a5a9dcc8b0c3a950efac1e972391d519c0f (diff)
downloadscintilla-mirror-fdc46e5d4307ef7481cffbe4f7aa895218e14227.tar.gz
Bug [#1790]. Include '&' and '|' bitwise operators for Lua 5.3.
Diffstat (limited to 'lexers/LexLua.cxx')
-rw-r--r--lexers/LexLua.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexLua.cxx b/lexers/LexLua.cxx
index b62e69a35..1e115ad18 100644
--- a/lexers/LexLua.cxx
+++ b/lexers/LexLua.cxx
@@ -64,7 +64,7 @@ static void ColouriseLuaDoc(
// but probably enough in most cases. [pP] is for hex floats.
CharacterSet setNumber(CharacterSet::setDigits, ".-+abcdefpABCDEFP");
CharacterSet setExponent(CharacterSet::setNone, "eEpP");
- CharacterSet setLuaOperator(CharacterSet::setNone, "*/-+()={}~[];<>,.^%:#");
+ CharacterSet setLuaOperator(CharacterSet::setNone, "*/-+()={}~[];<>,.^%:#&|");
CharacterSet setEscapeSkip(CharacterSet::setNone, "\"'\\");
Sci_Position currentLine = styler.GetLine(startPos);