Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Support Windows linebreaks #54

Closed
herwinw opened this issue Jan 31, 2023 · 2 comments
Closed

Support Windows linebreaks #54

herwinw opened this issue Jan 31, 2023 · 2 comments

Comments

@herwinw
Copy link
Member

herwinw commented Jan 31, 2023

Accidentally found this issue:

echo 'p 1' > test-crlf.rb
todos test-crlf.rb 
bin/natalie test-crlf.rb 

This results in an error:

lib/natalie/parser.rb:32:in `parse': 1: syntax error, unexpected '\r' (SyntaxError)
@herwinw
Copy link
Member Author

herwinw commented Jan 31, 2023

ruby/spec#1010 for the fix of the spec

@seven1m
Copy link
Member

seven1m commented Sep 22, 2023

Archiving this repo in favor of YARP...

@seven1m seven1m closed this as completed Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants