aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMurray Calavera <murray.calavera@gmail.com>2018-01-27 18:50:30 +0000
committerMurray Calavera <murray.calavera@gmail.com>2018-01-27 19:11:05 +0000
commitf083748d368b1b1e463ac3d66a20e981f5c71164 (patch)
treee67a70f6a9c2ad8905d2d3205c7e9e893ab2def2 /lua
parent5963289d0257c7bd422c3cf54866a846168f5c7a (diff)
downloadvis-f083748d368b1b1e463ac3d66a20e981f5c71164.tar.gz
vis-f083748d368b1b1e463ac3d66a20e981f5c71164.tar.xz
lexers: pony missing tilde for unsafe operators
Diffstat (limited to 'lua')
-rw-r--r--lua/lexers/pony.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lexers/pony.lua b/lua/lexers/pony.lua
index f1d4e59..618a9bf 100644
--- a/lua/lexers/pony.lua
+++ b/lua/lexers/pony.lua
@@ -52,7 +52,7 @@ local qualifier = token(l.LABEL,
local operator = token(l.OPERATOR,
pword{'and', 'or', 'xor', 'not', 'addressof', 'digestof'}
- + lpeg.Cmt(S('+-*/%<>=!')^1, function(input, index, op)
+ + lpeg.Cmt(S('+-*/%<>=!~')^1, function(input, index, op)
local ops = {
['+'] = true, ['-'] = true, ['*'] = true, ['/'] = true, ['%'] = true,
['+~'] = true, ['-~'] = true, ['*~'] = true, ['/~'] = true,