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

Refactor lexer and update for better jinja2 compatibility #447

Merged
merged 10 commits into from
Mar 26, 2024
Merged

Conversation

mitsuhiko
Copy link
Owner

This is a larger update to the lexer to bring it more in line with Jinja2. When this is done the goal is to have compatibility with trim_blocks and lstrip_blocks.

Refs #446

@mitsuhiko
Copy link
Owner Author

This ended up being a massive refactor but the code came out super ugly. I might want to see if I can do a cleanup before merging.

@mitsuhiko mitsuhiko merged commit b38b1be into main Mar 26, 2024
20 checks passed
@mitsuhiko mitsuhiko deleted the new-lexer branch March 26, 2024 07:50
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