Skip to content
Snippets Groups Projects
Commit 7e628fb0 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

change array rule back to use h_many

This reverts the part of commit f7dbb2ac that reworked the definition
of arrays into explicit grammar recursion in order to make 'obj'
compile with LALR. That project never came to fruition and with
packrat it causes a recursive function call for every array element,
exhausting the stack with large arrays.

Fixes #26.

This does not yet remove the explicitly recursive rules elemd and
elemr because the latter is still used by the object stream parser.
parent 6f77a691
No related branches found
No related tags found
1 merge request!37Change array rule back to use h_many
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment