Skip to content

Commit

Permalink
Apply the recursion limit to the parser instead of just to the printe…
Browse files Browse the repository at this point in the history
…r. (#49)

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.
  • Loading branch information
pcwalton committed Jun 18, 2021
1 parent 8282f4b commit 98bbcff
Showing 1 changed file with 624 additions and 22 deletions.
Loading

0 comments on commit 98bbcff

Please sign in to comment.