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

Make lexers auto-register themselves #938

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Conversation

gandarez
Copy link
Member

This PR simplifies how lexers are initialized by replacing the Lexer interface by init func. This approach solves the problem of forgetting to add the lexer to lexers array and would never get loaded.

@gandarez gandarez self-assigned this Sep 23, 2023
@gandarez gandarez force-pushed the feature/init-lexers branch 2 times, most recently from d95aa0e to ecf66d0 Compare September 23, 2023 12:21
@gandarez gandarez force-pushed the feature/init-lexers branch 3 times, most recently from e38e845 to 9785625 Compare September 25, 2023 15:26
@gandarez gandarez marked this pull request as ready for review September 25, 2023 15:53
@gandarez gandarez merged commit bb856ef into develop Sep 25, 2023
24 checks passed
@gandarez gandarez deleted the feature/init-lexers branch September 25, 2023 15: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.

2 participants