[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Weird values are no longer necessary (4c3be32)
Marcel Fabian Krüger
tex at 2krueger.de
Sat Apr 18 16:45:39 CEST 2020
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/4c3be32c7c9827da7287c4cabc6eb5ec5ef49064
>---------------------------------------------------------------
commit 4c3be32c7c9827da7287c4cabc6eb5ec5ef49064
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Apr 5 03:16:06 2020 +0200
Weird values are no longer necessary
>---------------------------------------------------------------
4c3be32c7c9827da7287c4cabc6eb5ec5ef49064
src/luaotfload-notdef.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/luaotfload-notdef.lua b/src/luaotfload-notdef.lua
index 2775f1f..6c1b08c 100644
--- a/src/luaotfload-notdef.lua
+++ b/src/luaotfload-notdef.lua
@@ -62,7 +62,7 @@ local ignorable_codepoints do
end
return table
end
- local entry = lpeg.Cg(codepoint * ';' * (1-lpeg.P';')^0 * ';Cf;' * lpeg.Cc'ignore')^-1 * (1-lpeg.P'\n')^0 * '\n'
+ local entry = lpeg.Cg(codepoint * ';' * (1-lpeg.P';')^0 * ';Cf;' * lpeg.Cc(true))^-1 * (1-lpeg.P'\n')^0 * '\n'
local file = lpeg.Cf(
lpeg.Ct''
* entry^0
@@ -70,8 +70,8 @@ local ignorable_codepoints do
local f = io.open(kpse.find_file"UnicodeData.txt")
ignorable_codepoints = file:match(f:read'*a')
f:close()
- entry = lpeg.Cg(codepoint_range * sep * ('Other_Default_Ignorable_Code_Point' * lpeg.Cc'ignore'
- + 'Variation_Selector' * lpeg.Cc'ignore'
+ entry = lpeg.Cg(codepoint_range * sep * ('Other_Default_Ignorable_Code_Point' * lpeg.Cc(true)
+ + 'Variation_Selector' * lpeg.Cc(true)
+ 'White_Space' * lpeg.Cc(nil)
+ 'Prepended_Concatenation_Mark' * lpeg.Cc(nil)
) * ' # ' * (1-lpeg.P'Lo'))^-1 * (1-lpeg.P'\n')^0 * '\n'
More information about the latex3-commits
mailing list.