summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-12-19 01:20:32 +0200
committerMarius <mariausol@gmail.com>2013-12-19 01:20:32 +0200
commit89a0bbb20443996183d52972334dcd865b70a59d (patch)
tree272faa4497e555ea54de0e154ebf5a9e5b9e22a4 /scripts
parent87faa39874b1be6dd136085cd90077b1b760c931 (diff)
downloadcontext-89a0bbb20443996183d52972334dcd865b70a59d.tar.gz
beta 2013.12.19 00:11
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-patterns.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-patterns.lua b/scripts/context/lua/mtx-patterns.lua
index f887d8c6c..5e2b2d902 100644
--- a/scripts/context/lua/mtx-patterns.lua
+++ b/scripts/context/lua/mtx-patterns.lua
@@ -286,8 +286,11 @@ function scripts.patterns.load(path,name,mnemonic,ignored)
used[char(b)] = true
elseif ct == "nd" then
-- number
+ elseif ct == "cf" then
+ report("%s: %s line with suspected utf character %C, category %s: %s",basename,"keeping",b,ct,line)
+ used[char(b)] = true
else -- maybe accent cf (200D)
- report("%s: removing line with suspected utf character %C, category %s: %s",basename,b,ct,line)
+ report("%s: %s line with suspected utf character %C, category %s: %s",basename,"removing",b,ct,line)
splitdata[i] = ""
break
end