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

Fix source locations for multi-line raw strings #1491

Merged
merged 2 commits into from
Apr 26, 2023
Merged

Conversation

cgay
Copy link
Member

@cgay cgay commented Apr 22, 2023

...and multi-line quoted symbols.

We could simply always count newlines in tokens and remove the hackish check for one of the multi-line token creation functions, but it seemed like it could cause a noticeable slowdown.

cgay added 2 commits April 22, 2023 20:38
Primarily removes the inlining/duplication of the maybe-done local method, but
also makes a few other formatting changes to make more of this giant function
fit on screen at one time.

This commit makes no functional changes.
Fixes source locations for multi-line raw strings and multi-line quoted
symbols. Tested by hand before and after three stage bootstraps.
@cgay cgay merged commit 3f72e26 into dylan-lang:master Apr 26, 2023
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