[luatex] [lpeg] increase MAXRULES

Philipp Gesang philipp.gesang at alumni.uni-heidelberg.de
Wed Feb 26 22:23:01 CET 2014


Good evening!

The reStructuredText module [1] is built around an Lpeg parser
with 225 rules. Currently (version 0.78.3), the value of MAXRULES
in lpeg.h is 200 (the default) which is too few for the module.
Others have reported similar problems in non-TeX contexts [2].

Could MAXRULES be increased to something above, say 400? That
would make module usable again and there would be enough
breathing room for further additions.

Thanks,
Philipp

[1] https://bitbucket.org/phg/context-rst
[2] http://lua-users.org/lists/lua-l/2013-09/msg00028.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20140226/e7dd20c4/attachment.bin>


More information about the luatex mailing list