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 emitting comments followed by \r\n #455

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Fix emitting comments followed by \r\n #455

merged 1 commit into from
Jul 9, 2024

Conversation

fredrikekre
Copy link
Member

Before this patch the \r character would be part of the comment and not the following NewlineWs (which would simply be a \n-style NewlineWs instead of a \r\n as one would expect).

@fredrikekre fredrikekre force-pushed the fe/rn branch 2 times, most recently from 59f06bd to 7bc40f3 Compare July 7, 2024 13:16
Copy link

codecov bot commented Jul 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.53%. Comparing base (ae7d6ac) to head (84a4ff8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #455      +/-   ##
==========================================
+ Coverage   96.43%   96.53%   +0.09%     
==========================================
  Files          14       14              
  Lines        4208     4212       +4     
==========================================
+ Hits         4058     4066       +8     
+ Misses        150      146       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LilithHafner
Copy link
Member

In Julia 1.0 and 1.8 we have Meta.parse("#1\r+2") === nothing, would this PR change that?

@LilithHafner
Copy link
Member

Whether or not we merge this we should add a test for parsing "#1\r+2"

Before this patch the `\r` character would be part of the comment and
not the following NewlineWs (which would simply be a `\n`-style
NewlineWs instead of a `\r\n` as one would expect).
@fredrikekre
Copy link
Member Author

Fixed.

@LilithHafner LilithHafner merged commit 1d95081 into main Jul 9, 2024
38 checks passed
@LilithHafner LilithHafner deleted the fe/rn branch July 9, 2024 06:28
@fredrikekre
Copy link
Member Author

Whats the procedure to release a new version here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants