aboutsummaryrefslogtreecommitdiff
path: root/relabel.lua
diff options
context:
space:
mode:
Diffstat (limited to 'relabel.lua')
-rw-r--r--relabel.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/relabel.lua b/relabel.lua
index 0a0ed8e..2be7102 100644
--- a/relabel.lua
+++ b/relabel.lua
@@ -282,6 +282,7 @@ local errorMessages = {
282 282
283local function compile (p, defs) 283local function compile (p, defs)
284 if mm.type(p) == "pattern" then return p end -- already compiled 284 if mm.type(p) == "pattern" then return p end -- already compiled
285 p = p .. " " -- for better reporting of column numbers in errors when at EOF
285 errors = {} 286 errors = {}
286 local cp, label, suffix = pattern:match(p, 1, defs) 287 local cp, label, suffix = pattern:match(p, 1, defs)
287 if #errors > 0 then 288 if #errors > 0 then