Skip to content

Simplify try statement, accept missing else/except/finally#1

Merged
smitbarmase merged 1 commit intomasterfrom
fix-try
Jun 26, 2025
Merged

Simplify try statement, accept missing else/except/finally#1
smitbarmase merged 1 commit intomasterfrom
fix-try

Conversation

@smitbarmase
Copy link
Member

This makes the parser more useful for editors, since the try_statement will still be identified, even if it's incomplete.

Patch for: tree-sitter#304

@smitbarmase smitbarmase merged commit ebc8a7b into master Jun 26, 2025
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