Commit 0f6bdd9
committed
Apply the recursion limit to the parser instead of just to the printer.
Raphael Salas found more stack overflows involving very large symbols that
failed while the parser was trying to skip over tokens. These are fixed by
moving the recursion limiter from the printer to the parser, and updating the
printer to use the parser's limiter.
The failing cases are added as unit tests.1 parent 8282f4b commit 0f6bdd9
1 file changed
+624
-22
lines changed
0 commit comments