Skip to content

Convert scalar escape sequences to DSL scalars #245

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

Merged
merged 2 commits into from
Apr 7, 2022

Conversation

hamishknight
Copy link
Contributor

Follow-up to #226.

Convert AST escape sequences that represent a scalar value (e.g \f, n, \a) into scalars in the DSL tree. This allows the matching engine to match against them.

This isn't actually used, as we convert to a DSL
custom character class, and then use that consumer
logic.
Convert AST escape sequences that represent a
scalar value (e.g `\f`, `n`, `\a`) into scalars in
the DSL tree. This allows the matching engine to
match against them.
@hamishknight hamishknight requested review from milseman and natecook1000 and removed request for milseman and natecook1000 April 4, 2022 11:36
@hamishknight
Copy link
Contributor Author

GitHub acting weird, but I did request a review from both of you

Copy link
Member

@natecook1000 natecook1000 left a comment

Choose a reason for hiding this comment

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

LGTM!

@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit 5d4d136 into swiftlang:main Apr 7, 2022
@hamishknight hamishknight deleted the to-scale branch April 7, 2022 10:56
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