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

Correctly handle paren balance in lexer #723

Merged
merged 2 commits into from
Feb 12, 2025
Merged

Correctly handle paren balance in lexer #723

merged 2 commits into from
Feb 12, 2025

Conversation

mitsuhiko
Copy link
Owner

The lexer ignored paren balance which meant that variable end blocks were valid even when parentheses, brackets or braces were open.

Fixes #722

@mitsuhiko mitsuhiko merged commit 6610548 into main Feb 12, 2025
33 checks passed
@mitsuhiko mitsuhiko deleted the fix-paren-balance branch February 12, 2025 17:53
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.

Syntax error on a valid expression
1 participant