Skip to content

Commit 486acaa

Browse files
committed
Fixing French Lua code
1 parent 6318e90 commit 486acaa

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

wiktionary_pron/lua_modules/fr-pron_wasm.lua

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,6 @@ function export.show(text, pos, noalternatives, pagename, no_test_new_module)
308308

309309
text = export.canonicalize_pron(text, pagename)
310310

311-
-- track quote-separator if different numbers of quote symbols
312-
if ulen(rsub(text, "[^']", "")) ~= ulen(rsub(pagename, "[^']", "")) then
313-
track("quote-separator")
314-
end
315311

316312
-- To simplify checking for word boundaries and liaison markers, we
317313
-- add ⁀ at the beginning and end of all words, and remove it at the end.
@@ -843,8 +839,9 @@ function export.show(text, pos, noalternatives, pagename, no_test_new_module)
843839
end
844840
end
845841
end
846-
847842
return result
848843
end
849844

845+
print(export.show("c'était,")[0])
846+
850847
return export

0 commit comments

Comments
 (0)