summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-12-19 00:11:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-12-19 00:11:00 +0100
commit25ec075c2eb5bd0b5dece77e35164a0077ef96ab (patch)
tree7f2922ac562d4a131ba5b56ab3d51bdef17dabe8 /scripts
parent8aba902773a11f41d60169be0d991537e2d060ae (diff)
downloadcontext-25ec075c2eb5bd0b5dece77e35164a0077ef96ab.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