diff options
| author | 2022-10-13 08:59:24 -0400 | |
|---|---|---|
| committer | 2022-10-13 08:59:24 -0400 | |
| commit | d540551b5135d407593f6f2e1d2b8eca98b0504b (patch) | |
| tree | 9b169bd2a572d0fc8b1e5eb9e9344f46af487dfe /patok.lua | |
| parent | experimental: add the ability to drop inputs and lexer-level alternates (diff) | |
fix obvious syntax errors
Diffstat (limited to 'patok.lua')
| -rw-r--r-- | patok.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ -local id = function(in) return function() return in end end -local pa = function(pt) return function(in) return in:find(pt) end +local id = function(ip) return function() return ip end end +local pa = function(pt) return function(ip) return ip:find(pt) end end local meta = {} function meta:__call(p) |
