Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursion limit number is wrong #63

Closed
zjp-CN opened this issue Apr 14, 2022 · 1 comment
Closed

Recursion limit number is wrong #63

zjp-CN opened this issue Apr 14, 2022 · 1 comment

Comments

@zjp-CN
Copy link
Contributor

zjp-CN commented Apr 14, 2022

This is known as the syntax extension recursion limit and defaults to 32. If the 32nd expansion contains a syntax extension invocation, the compiler will abort with an error indicating that the recursion limit was exceeded.

Change 32 into 128 according to the number followed by the link #![recursion_limit="…"] attribute which is given after the mentioned quote.

I remember this number was correct in your version.

BTW: now I'm updating the Chinese version, and there are many modifications since last time I did the translation :) But it's worth it, thank you for your work.

@Veykril
Copy link
Owner

Veykril commented Apr 14, 2022

Yes I have changed a lot of things, sorry :)

zjp-CN added a commit to zjp-CN/tlborm that referenced this issue Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants