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

refine parse mode by media type #277

Merged
merged 1 commit into from
Sep 22, 2024
Merged

refine parse mode by media type #277

merged 1 commit into from
Sep 22, 2024

Conversation

devsnek
Copy link
Member

@devsnek devsnek commented Sep 20, 2024

Fixes: #276

For some media types we know the source must be a certain syntax, so we can turn ParseMode::Program into ParseMode::Script or Module with that information.

@CLAassistant
Copy link

CLAassistant commented Sep 20, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devsnek devsnek merged commit e7027f4 into main Sep 22, 2024
2 checks passed
@devsnek devsnek deleted the refine-parse-mode branch September 22, 2024 19:43
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.

parse_program should refine the syntax goal based on the given media type
3 participants