aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexLua.cxx
diff options
context:
space:
mode:
authorKein-Hong Man <unknown>2015-12-11 13:05:50 +1100
committerKein-Hong Man <unknown>2015-12-11 13:05:50 +1100
commit0627da25d7c63fe93aba23ad784ddaaa225297a2 (patch)
treec354692ca7f18cfc8a502ca59ae19d95b5e78a5b /lexers/LexLua.cxx
parent877e3554fd464932d5d641fbee9e45d38d1122b1 (diff)
downloadscintilla-mirror-0627da25d7c63fe93aba23ad784ddaaa225297a2.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);