Skip to content

Stop parsing immediately on recursion limit in PrattParser and add ternary depth tests. - #1243

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_984121814
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_984121814

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Stop parsing immediately on recursion limit in PrattParser and add ternary depth tests.

Avoid emitting spurious syntax errors while unwinding after hitting the recursion limit, and add ternary recursion depth tests to CelParserImplTest.

…rnary depth tests.

Avoid emitting spurious syntax errors while unwinding after hitting the recursion limit, and add ternary recursion depth tests to `CelParserImplTest`.

PiperOrigin-RevId: 984121814
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

Successfully merging this pull request may close these issues.

1 participant