Pass ReaderOptions to custom readers as second parameter.

This commit is contained in:
John MacFarlane
2021-11-06 16:47:13 -07:00
parent 822f894984
commit 213913f025
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -82,6 +82,6 @@ G = P{ "Pandoc",
Special = S"`\\" / pandoc.Str;
}
function Reader(input)
function Reader(input, opts)
return lpeg.match(G, input)
end